can not login as root on solaris 10

March 15, 2010 at 04:53:06
Specs: Windows XP
hi,
i can't seem to login as root anymore on solaris.i was trying to work with Korn shell but my default shell is Bourne. here is what i did.
1) Logged in as root, i created a user.
2) With the user i tried changing the shell of the user to Korn in the /etc/passwd file with
$ vi /etc/passwd but it was a read-only file owned by root.
3) I switched user to root and changed the permission of /etc/passwd to 777
# chmod 777 /etc/password
4) i switched back to the user and was able to edit the /etc/passwd of the shell used by the user.
SHELL=/sbin/sh To SHELL=/bin/ksh

The next day i tried logging in as the user and root and i was unable. i then logged in in safe mode and noticed the permission on /etc/passwd is lrwxrwxrwx and not -rwxrwxrwx. HELP!


See More: can not login as root on solaris 10

Report •


#1
March 15, 2010 at 05:32:56
So it is a symbolic link.
The command ls -l should show, where the original file is located.

Report •

#2
March 15, 2010 at 05:36:16
Btw., you recognized, that you posted this in the Windows XP forum?

Report •

#3
March 15, 2010 at 07:51:03
Sorry, didin't check!

Report •

Related Solutions

#4
March 15, 2010 at 15:57:23
The OP shows his system as XP... I think he may need to do some more checking?

Home Page http://ewen.uuuq.com/


Report •

#5
March 16, 2010 at 02:12:10
@Ewen
I guess that's, because he posted it from another system.

Report •


Ask Question