shell problem for root


 
Thread Tools Search this Thread
Operating Systems Solaris shell problem for root
# 1  
Old 01-06-2009
Network shell problem for root

hi
i was just playing with my x86 machine with solaris10 on it
what i hated was whenever i started my new terminal it started with sh shell
so i changed it to bash by changing the last value in /etc/passwd to/sbin/bash
and then i logged out and started again BBUT it said no login shell
i tried from cmd line also but in vain please somebody help me ASAP Smilie

thnks
# 2  
Old 01-06-2009
path to bash is:

/usr/bin/bash

enter the correct path in /etc/passwd and try again...
# 3  
Old 01-06-2009
Power how to solve root login shell problem

thnks for the help my problem is solved by using single mode and i have change the shell back to sh using the post Solaris 9 login problem
Thou i will do the above process again by using /usr/bin/bash and tell u again about the succes

Last edited by tiwsaj; 01-06-2009 at 08:18 AM..
# 4  
Old 01-06-2009
can u pls tell me the path of sh
# 5  
Old 01-06-2009
another que why do we need two dir in solaris 10 as /home and /export/home thou the latter is mounted with slice7 by default and /home is kept alone any body has a reason for this
# 6  
Old 01-06-2009
Quote:
Originally Posted by tiwsaj
another que why do we need two dir in solaris 10 as /home and /export/home thou the latter is mounted with slice7 by default and /home is kept alone any body has a reason for this
/home is a autofs directory! have a look at /etc/auto_home and /etc/auto_master. also read the solaris documentation that can be found at Sun Microsystems Documentation

btw. please stop writing in "punk" style. you've accepted the rules of unix.com!
# 7  
Old 01-06-2009
/home is a directory used by the automounter to mount the real home directories either remotely from an NFS home server or locally if there is no need to share the home between machines. /export as its name suggests is meant to be shared on the network.

If you use a standalone configuration, you might disable the automounter by commenting out the /home line in /etc/auto_master and then use /home directly.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Big problem: shell entry in /etc/passwd corrupted for user root

did a big mistake, changing root entry of /etc/passwd to root:x:0:0:root:/root:/usr/bin/tmux split-window -v \; attach as expected, now I can't login as root anymore. sudo ed /etc/passwd etc. doesn't work. Any idea? Use code tags to increase readability and follow the rules. (4 Replies)
Discussion started by: dodona
4 Replies

2. Solaris

Problem with root login

Hi, we have instaled Solaris 10 on a SUN V490, installation went okay but now when I type “root” and press return it comes back with the “Login incorrect” without ever asking for a password... (6 Replies)
Discussion started by: manni2
6 Replies

3. Solaris

Migration of system having UFS root FS with zones root to ZFS root FS

Hi All After downloading ZFS documentation from oracle site, I am able to successfully migrate UFS root FS without zones to ZFS root FS. But in case of UFS root file system with zones , I am successfully able to migrate global zone to zfs root file system but zone are still in UFS root file... (2 Replies)
Discussion started by: sb200
2 Replies

4. Red Hat

Fedroa 14 root and wi-fi problem.

I am using Fedora 14. I got two problems after installation: 1) After installation when I tried login through root it said bad authentication failure. After login through restricted user I tried to test su in terminal which worked with same password. 2) It doesn't have any wireless firmware... (2 Replies)
Discussion started by: nixhead
2 Replies

5. HP-UX

problem in logging into root

when i am trying to login through root i am getting following error Last successful login for root: Tue Feb 3 16:44:40 IST-5:30 2009 on pts/tc Last unsuccessful login for root: Tue Feb 3 16:41:01 IST-5:30 2009 on pts/tc Please wait...checking for disk quotas crt0: ERROR couldn't open... (6 Replies)
Discussion started by: mnmca
6 Replies

6. AIX

Can't login root account due to can't find root shell

Hi, yesterday, I changed root's shell in /etc/passwd, cause a mistake then I can not log in root account (can't find correct shell). I attempted to log in single-mode, however, it prompted for single-mode's password then I type root's password but still can not log in. I'm using AIX 5L version 5.2... (2 Replies)
Discussion started by: neikel
2 Replies

7. Solaris

problem with root password

I have 3 servers all running solaris 9 using ssh I changed the root passwd on all 3 a few months ago. I cannot log in as root currently as it wont accept password. I try to su from another user to root - when I type the password that I know to be correct it rejects the password immediately... (1 Reply)
Discussion started by: frustrated1
1 Replies

8. Linux

root mailbox problem

Hi, I have a linux box which works as an smtp server. Past few months I am facing a problem, all the mails which my local lan users send to the outside world, all such mail gets bounced to root's mailbox. Also I have found that the mails which get bounced to the root's mailbox are mostly... (3 Replies)
Discussion started by: RajaRC
3 Replies

9. UNIX for Advanced & Expert Users

Problem with X11 Root Window

At school, on an HP-UX or B.11.11 U 9000/785 system, my X11 root window is always set to 8-bit color, but all the child windows are 24-bit. The problem with this, is any background/wallpaper looks extremely ugly with the 8-bit color. Is there any way to make X starts with 24-bit color root window?... (0 Replies)
Discussion started by: ljfong
0 Replies

10. UNIX for Advanced & Expert Users

Root Login Problem

I have Sun Netra X1 Server which is headless means no CDROM, no terminal etc. I am connected it through serial port. Accidently, someone in our department changed the root's default shell to /sbin/tcsh while there is no tcsh in /sbin and he logs off. Now, I am trying to logon as root on system... (2 Replies)
Discussion started by: s_aamir
2 Replies
Login or Register to Ask a Question