[PLUG] adding user accounts in bulk
Steve Adams
steven_adams at nwtechops.com
Tue Jan 6 17:08:07 UTC 2004
>-p passwd
> The encrypted password, as returned by crypt(3). The
>default is to disable the account
>
>So you need to loop $password and $username
>
>
Avoid running anything like this outside of Linux unless you have a
whole bunch of really crypt-ick named profiles. See man useradd in
Solaris for more details. Of course, Karla did only ask about Linux but
I think that it's worth mentioning the portability point since the
subject is automating mass useradd's.
More information about the PLUG
mailing list