Originally posted by explorer1979
I am a newbie, now my linux is RH 7.2 and running the sendmail, it have over 100 user at it for the e-mail service
Now, I want to change all that 100 person's password are same, like that one "rthdfkfg234#$%@"
How to do this easy?
I don't want to do like this,
How to quick to change all user's password, thanks
Assuming you have everything else configured right, you can edit /etc/passwd or /etc/shadow ( if you have shadow passwords enabled ). Make a backup version of the file you're just about to mess with, just in case.
Lets say you want to make Catherine and Teresa use Sam's password.
Find the password field ( MD5 hash - usually starts with $1$ ) against the username Sam. Replace the corresponding field against Catherine's and Teresa's. And so on if you want to do more.