mass account creation in LTSP fatclient

Asmo Koskinen asmo.koskinen at arkki.info
Mon Feb 2 18:38:17 GMT 2009


Sameer Verma kirjoitti:

> I'd like to populate the server with 40 accounts for my class. What
> are some recommended ways?

I like the webmin way:

create:ltsp001:edubuntu:1001:10000:LTSP 001:/home/ltsp001:/bin/bash:::::
create:ltsp002:edubuntu:1002:10000:LTSP 002:/home/ltsp002:/bin/bash:::::
create:ltsp003:edubuntu:1003:10000:LTSP 003:/home/ltsp003:/bin/bash:::::
create:ltsp004:edubuntu:1004:10000:LTSP 004:/home/ltsp004:/bin/bash:::::
[and so on]

"This form allows you to create, modify or delete many users at once 
from an uploaded or local text file. Each line in the file specifies one 
action to take, depending on its first field. The line formats are :

create:username:passwd:uid:gid:realname:homedir:shell:min:max:warn:inactive:expire

modify:oldusername:username:passwd:uid:gid:realname:homedir:shell:min:max:warn:inactive:expire

delete:username"

We used this form also with openLDAP server in our workshop. Webmin is 
great tool.

www.webmin.com

Best Regards Asmo Koskinen.



More information about the edubuntu-users mailing list