[PLUG] adding user accounts in bulk
Michael Rasmussen
mikeraz at patch.com
Sat Jan 3 16:15:02 UTC 2004
On Sat, Jan 03, 2004 at 01:57:29PM -0800, AthlonRob wrote:
>
> Use 'useradd' ....
>
> In a for loop, something like:
>
> useradd -p $PASSWORD $USERNAME
> mkdir /home/$USERNAME
and
cp /etc/skel/\.* /home/$USERNAME
chown -R $USERNAME /home/$USERNAME
--
Michael Rasmussen aka mikeraz
Be appropriate && Follow your curiosity
http://www.patch.com/ http://meme.patch.com/
Get Fixed: http://www.dampfixie.org
The fortune cookie says:
Flon's Law:
There is not now, and never will be, a language in
which it is the least bit difficult to write bad programs.
More information about the PLUG
mailing list