tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: James Hammett <james@che.utexas.edu>
Subject: Way to set a passwd from the command line
Date: Mon, 14 Jul 2003 15:11:12 -0500	[thread overview]
Message-ID: <p05210607bb38be043df9@[128.83.162.148]> (raw)

I'm trying to setup an bunch of new users at the same time.  Using 
awk, I defined all of the users and created their home directories, 
etc.  However, the adduser command doesn't allow you to set the 
passwd.

The digital passwd command doesnt allow you to do:
	passwd <new_user> <passwd>
If this was the case, I'd just use awk and pipe it all into that.

Anyone have any ideas about how to do this.  I don't want to have to 
type out the password and THEN REPEAT IT for every single user.

thanks,
James
-- 

--------------------------------------------------------------------------
James Hammett
Users Services / Server and Lab Administration (SLAM)
Information Technology Services ( (ITS)                          CPE 4.442
Chemical Engineering Unix Support                                   471-9701
----------------------------------------------------------------------------
        An injustice anywhere is a threat to justice everywhere - MLK jr.
----------------------------------------------------------------------------


                 reply	other threads:[~2003-07-14 20:11 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