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

Re: newusers command



"Suresh Kumar. R" <sudhas@md3.vsnl.net.in> writes:
> Does adduser support reading data from a file? For large number
> of users like in our case (around 500) interactive entry for each
> user is not a desirable option.

I don't believe adduser will read from a file, not directly anyway,
but it is a perl script, as someone pointed out, so you could copy it
and modify a version to do as you please, or you could write a shell
script to read in the users from that file and call adduser from the
shell script with the appropriate arguments.

Gary



Reply to: