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

Re: adduser automation



On Sat, 30 Dec 2000, :yegon wrote:

> Is there an easy way to automate the adduser script
> 
> I'd like to run a script which creates several users listed in a text file
> (or db) and sets their passwords

Specify as many options as needed to:
useradd, it's non-interactive if I remember ok.
(maybe first you need to create the home directory, and copy /etc/skel)
groupadd is also available

With all this combined you should be able to do it.



Reply to: