SUMMARY : how to change passwords automatically with a script ?

From: bofamb <Mireille.Bof_at_univ-nancy2.fr>
Date: Tue, 26 Mar 2002 18:04:39 +0100

TANKS TO :
Phil Baldwin
bryan.mills, twice
Jim Fitzmaurice
Joerg Bruehe
Mike D Cross
John Venier
Michael James Bradford
John Ferlan
David Bannon
Smith, Lawrie
Tim Cutts
ROBIN Jean-Marie

SOLUTIONS :
1- the easier, sent by Phil Baldwin
usermod -p userid <<!
newpassword
newpassword
!

2- use expect (http://expect.nist.gov/)
the expect package includes a dummy password change script.

I received c programs too but i can't send

MY QUESTION
I'm looking for an utility that allow me to change automatically a password by a script. I want to modify the password of all my users with a script reading, for example, the new passwords in a file.
Is there an easy way to to that ?
Received on Tue Mar 26 2002 - 17:02:00 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT