Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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

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

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.

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

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |