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

Re: Adding users from a list or database?

>> "SP" == Steve Phillips <sjp@siliconlogic.com> writes:

SP> I would like to be able to add users from a list, to avoid the
SP> interactive nature of adduser.  Is there a tool that does
SP> something like this?  A couple of years ago I modified adduser to

Well, I would write a small perlscript, that reads the flat DB and
calls adduser. You can set everything but the password as options.

Call it with --disabled-password, then set the password with the
chpasswd program.


Reply to: