How to mass create users

Jim Hutchinson jim at ubuntu-rocks.org
Wed Jan 23 19:36:13 GMT 2008


On Jan 23, 2008 12:07 PM, Oliver Grawert <ogra at ubuntu.com> wrote:
> hi,
>
> On Mi, 2008-01-23 at 10:33 -0800, Joseph Hartman wrote:
> > I've been reading a lot of recommendations for giving each student
> > their own account on the terminal server but I am loathe to go through
> > the user creation process dozens of times for each class. Is there a
> > mass user creation method I don't know about? Upload a .csv or
> > something? Thanks -joe
> in any case make sure whatever script you use uses adduser, not
> useradd ... useradd is a low level tool and shouldnt be used directly,
> adduser adds the right default groups and user settings you need in an
> ubuntu system ...
>

Thanks for the tip. The script does use useradd so it should probably
be changed to use adduser. Again, no guarantees this is the best
solution or even a good one. Just sharing what I have. Feel free to
make it better. Although it sounds like webmin is a better approach.
Thanks.

Jim
-- 
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html



More information about the edubuntu-users mailing list