I'm trying to change a password for root on an AIX 5.2 machine. Oslevel -r shows 5200-10 for this machine. Here's what happens:
/ # whoami
root
/ # passwd
Please type a new password:
Please re-enter the new password:
Changing UNIX password...
601 - Can't access the password for root
I'm entering a password that is 10 characters in length. Minimum length in /etc/security/user is 8 characters. I'm not sure why I'm receiving this message, "Can't access the password for root" because I am logged in as root. Anyone have any ideas? I'm stumped along with the others on my team.
Root is listed in /etc/passwd but I do not have a /etc/shadow file. Is that a problem? Sorry if this is a silly question, but I'm much more a Windows guy than UNIX.
Thanks for your help, Nathan. Everything looked fine in /etc/security/passwd. I then tried chpasswd to change root's password and it worked successfully! So the immediate problem is resolved. But if anyone knows why I was unable to change root with the usual passwd command, please let me know. I'd like to know the root cause of this problem some day.