Try
man bash
man awk
or
http://www.python.org
or
http://www.perl.org
Im sure that an self respecting IT manager knows one of these well
enough to parse a text file?
Bend
Not and IT manager
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf
Of Simon
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 -