[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: adding users via scripts



> -----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?

---
Bob McGowan
i'm:  bob dot mcgowan at artecon dot com


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: