tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY : how to change passwords automatically with a script ?
@ 2002-03-26 17:04 bofamb
  0 siblings, 0 replies; only message in thread
From: bofamb @ 2002-03-26 17:04 UTC (permalink / raw)
  To: tru64-unix-managers

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 ?



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-03-26 17:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-26 17:04 SUMMARY : how to change passwords automatically with a script ? bofamb

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