tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Arnie Miles <miles () hood ! edu>
To: tru64-unix-managers
Subject: useradd
Date: Wed, 20 Dec 2000 19:49:34 +0000	[thread overview]
Message-ID: <97734150615845.tru64-unix-managers.marc@archive.invalid> (raw)

All:

I'm trying to use "useradd" (with a number of options listed in the man
pages) in a loop in a Perl script to create a batch of accounts.
Unfortunately, it doesn't seem to allow me to just put in a password at the
same time, it appears to want to interact with the keyboard for each
password to be typed in twice.

I know that if I don't set a password, it will create the account with no
password, but that is a less than satisfactory solution.

Does anyone have a solution that will allow me to enter a password while
creating an account from a script that does not require keyboard input?



My e-mail address is miles@hood.edu


Thanks...
Arnie Miles
Manager, End User Computing
Unix Systems Administrator
Hood College
Frederick, MD 21701

             reply	other threads:[~2000-12-20 19:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-20 19:49 Arnie Miles [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-12-21 13:46 useradd Arnie Miles
2001-01-04 14:43 useradd Arnie Miles
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