Computing.Net > Forums > Solaris > Root passwd can't change

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Root passwd can't change

Reply to Message Icon

Name: kishore.dpt
Date: July 19, 2008 at 01:58:50 Pacific
OS: solaris9
CPU/Ram: 650MHz/1280Mb
Product: Sun Blade 150
Comment:

Hi,
I am logging as a root user and try to change the root passwd, But it doesn't change, it shows the error permission denaid. I checked /etc/shadow file permissions also. permissions are -r--------. any one can give a sloution?

Thanks in advance



Sponsored Link
Ads by Google

Response Number 1
Name: jefro
Date: July 19, 2008 at 13:27:32 Pacific
Reply:

If you deny root permission to change passwords then you are stuck. You can still be root, but root is only a level that has permissions that can be added to or subtracted from.

Time to boot from cd and try to correct that. It may or may not work. The cd would be root no matter what was on the hard drive.

"Best Practices", Event viewer, host file, perfmon, are in my top 10


0

Response Number 2
Name: dynamic (by dynamic1)
Date: August 12, 2008 at 12:54:46 Pacific
Reply:

Well this is interesting. My shadow file has the same permissions. I can't imagine why you cant change the password.

You can try to use chmod u+wx to see if that helps.

Also can you post the contents of your /etc/shadow file? or at least the record for the root user.


0

Response Number 3
Name: rsendil
Date: August 26, 2008 at 09:42:07 Pacific
Reply:

Have you tried ?
Hope this is help you.
#passwd -e root


0

Response Number 4
Name: kishore.dpt
Date: August 27, 2008 at 04:32:17 Pacific
Reply:

Hi,
I pasted the optput here
cat /etc/shadow |grep -i root
root:ftguXY/I5AX2:13862::::::


who -r
. run-level 3 Aug 12 13:06 3 0 S


ls -l /etc/shadow
-r-------- 1 root sys 782 Aug 26 10:24 /etc/shadow


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: Root passwd can't change

can't change root passwd www.computing.net/answers/solaris/cant-change-root-passwd/4972.html

Can't change root password www.computing.net/answers/solaris/cant-change-root-password/3162.html

can't change vfstab file www.computing.net/answers/solaris/cant-change-vfstab-file/4053.html