[PLUG] adding user accounts in bulk
Jeme A Brelin
jeme at brelin.net
Sat Jan 3 16:30: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
On Sat, 3 Jan 2004, Michael Rasmussen wrote:
> and
> cp /etc/skel/\.* /home/$USERNAME
> chown -R $USERNAME /home/$USERNAME
Rather,
useradd -m -k /etc/skel -p $PASSWORD $USERNAME
Why do you folks always do things the hard way?
J.
--
-----------------
Jeme A Brelin
jeme at brelin.net
-----------------
[cc] counter-copyright
http://www.openlaw.org
More information about the PLUG
mailing list