root Password ... strange issue

hi there , :cool:

um facing a problem with my root passwd
i want to set my root password and when i do i get the following ::

#
# passwd

passwd: Changing password for root
New Password:
Re-enter new Password:
passwd(SYSTEM): They don't match.

Please try again
New Password:
Re-enter new Password:
passwd(SYSTEM): They don't match.

Please try again
New Password:
Re-enter new Password:
passwd(SYSTEM): They don't match.
Permission denied
#

and i am sure they match.

any guess ??? .... any one :confused:

That's strange. Can you tell us what is your OS ? Take a look at the system logs, they may have some more info. Have you tried rebooting the machine ? I've solved such stubs with reboot, when I'm unable to identify the root cause. Also, is this a single user mode, or normal runlevel 3 ? I guess it's runlevel 3, check with "who -r" and try to change the pass in single user mode.

i am using OS solaris9 /05 hw update and installed on E2900 1.8 GHz.
its the only solaris that supports the post solaris and applications that i will install afterwords (its complicated) why i used this version.

regarding the other info you asked me for i will check for it tomorrow and get back to you.

thanks man

are you using NIS, passwd, shadow passwords, LDAP, md5 passwords or des ones?

Perhaps it is testing with crypt to confirm the password works.

Some systems ask for

enter old password
enter new password
confirm new password

perhaps you are not seeing the prompt that says "old password"?

# i am using passwd

# its not testing with crypt because after that i log out and log in and i gets directly in after the admin password , just like an open door

# and yes , it directly asks for the new password

Dear Friend

If you are facing the above problem just go into the single user mode & then modify the shadow file where the encrepted password for the root is placed then give passwd command & proceed as you doing earlier your problem will be resolved.

thanks a lot i will try it tomorrow and check