tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: bofamb <Mireille.Bof () univ-nancy2 ! fr>
To: tru64-unix-managers
Subject: SUMMARY : how to change passwords automatically with a script ?
Date: Tue, 26 Mar 2002 17:04:39 +0000	[thread overview]
Message-ID: <102653731622874.tru64-unix-managers.marc@archive.invalid> (raw)

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 ?



                 reply	other threads:[~2002-03-26 17:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox