RE: adding users via scripts
On Mon, 1 Jun 1998, Bob McGowan wrote:
: > -----Original Message-----
: > From: Nathan E Norman [mailto:finn@midco.net]
: > Sent: Sunday, May 31, 1998 10:11 AM
: > To: Debian User List
: > Cc: recipient list not shown; @lists.debian.org@artecon
: > Subject: adding users via scripts
: >
: >
: > We are in the process of moving users from a BSDi box to a Linux box.
: > BSDi has an adduser script which accepts encrypted passwords. The
: > Debian adduser script does not. From reading through the
: > code for each,
: > it seems that BSDi's adduser script manipulates the password file
: > directly. ( I'm not a Perl guru, btw :)
: >
: > So, I'm wondering if anyone knows of or has developed an adduser type
: > script for Linux that will accept encrypted passwords on the comamnd
: > line. I don't feel up todeveloping this myself, though I'll give it a
: > try if I have to. In the short term, I'd probably add the users with
: > one script and change the entries in /etc/shadow with another.
: >
: > Searching for ideas, advice, etc. Thanks.
: >
:
: How about just adding the 'passwd' command to the scirpt?
Because I don't know what the user's password is. I have the encrypted
password entry from the /etc/master.passwd file from the BSDi box, and
don't need it encrypted again.
--
Nathan Norman
MidcoNet - 410 South Phillips Avenue - Sioux Falls, SD 57104
mailto://finn@midco.net http://www.midco.net
finger finn@kepler.midco.net for PGP Key: (0xA33B86E9)
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: