21 Nov
2003
21 Nov
'03
17:39
wonderful thank a lot Francois
Francois Maisonneuve wrote:
hello,
I'm looking for a way to change a common password for several users in one passe via a script or something else.
does anyone have an idea ?
thank for your answer
Francois
hi, try using this run this command from your console or a bash script
chpasswd < passwd.txt
where passwd.txt is a plain text file in this format user1:pass1 user2:pass2 user3:pass3 ... and so on..
take a look at man chpasswd