Hi all,
I have been trying to find an adduser script that will read it's input from
a file. I used to have one but it has gone MIA.
I need to be able to set username, gid, home directory and shell.
I tried the one in Webmin but it keeps failing with inexplicable errors.
Any clues appreciated
Bryan
Sent: Monday, 3 February 2003 12:32 PM
To: Slug
Subject: [SLUG] addusers from text file
Hi all,
I have been trying to find an adduser script that will read it's input
from
a file. I used to have one but it has gone MIA.
I need to be able to set username, gid, home directory and shell.
I tried
Simon Bryan wrote:
I have been trying to find an adduser script that will read it's input from
a file. I used to have one but it has gone MIA.
I need to be able to set username, gid, home directory and shell.
How about just reformatting the file suitably for useradd?
awk -f reformat.awk
On Mon, 2003-02-03 at 13:01, Simon Bryan wrote:
Any clues appreciated
the 'newusers' command appears to be what you want
(from the shadow password utilities pkg)
PS. I couldn't remember the name of the command, so typed
adding multiple users into google/linux and found it.
Dave.
--
SLUG -