Hello All,
I have several solaris boxes running Solaris 8. When changing root passwords on them, all will simply ask for the new root password to change and of course to re-type the new password. One of the systems however asks for the existing root password before it will display the new password prompt for root.
have you rebooted the server? checked all filesystems/permissions (special /var/tmp)? how do you login (ssh/telnet/console)? have you run "pwconv"?
there are so many possibilities... it's hard to do this remote...
I had a similar problem ages ago, I think it was something to do with the passwd or shadow file having an error in it.
(something like an extra space or control character)
Well worth backing up the following files somewhere on the root filesystem where you can find them when in single user mode: passwd, shadow, group.
At the moment you may only be able to log in because of password file caching.
More ideas:
Visually compare the /etc/group file with another system to be sure that it is not blank or has many lines missing.
Visually compare the first few lines of /etc/passwd with another system. The entry for "root" must be the first line.
Check that anything which has the password file open can be accounted for (fuser).
Check you don't have two entries for "root" in /etc/passwd.
Check you don't have two entries for UID zero in /etc/passwd.