change password ??

Hey all,

How to reset the password to a given user id ??

I used passwd commands, but now for that user there are 2 passwords. i.e the old and new passwords.

as : passwd mqcfaostt
oldpassword : pass1
new password : pass2
Confirm new password : pass2

Now, su - mqcdaostt is working for both the passwords. pass1 and pass2

Suggest !!
Thanks.
Varun:b:

If pass1 and pass2 have the same 8 characters and more after that, then the passwords are the same as far as the system is concerned.

12345678
thisisthesameasthat
thisisthesecondpass

thanks for the reply,

the first 8 characters are defenitly diff.
"pass1" and "pass2" are 2 passwords, old one and newer one., for the same userid.

Now tell me whats the matter when i change the password why does it take both the old and new passwords ?

Just curious..
What system is it?

Its AIX 5.3
Me too amazed with this nature of the command !! :slight_smile: