Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I would like to set up 25 student accounts on a Unbuntu 12.04 LTS VM that I have provisioned via Windows Azure for teaching purposes.

Can anyone point me toward some scripts that would automate this process and also offer some advice which command, newusers or adduser, would be preferable? I would like to set up home directories, basic passwords and the usual config/. files (from /etc/skel?). Students should have limited privileges (ie be regular users). I want to avoid them peeking into each others' accounts :-) [or mine], this implies no sudo either of course (which I assume it the default already for non-admin accounts).

If a script would be necessary, I would prefer writing the script in Python, though I can cobble together and run a bash script too.

Thanks, while I'm quite confident as a user, the admin side for more than myself is a bit new to me. I find the command choices a bit confusing for something that would be a regular admin task.

share|improve this question
    
Please don't cross-post! (AU) askubuntu.com/q/354131/88802 (UL) unix.stackexchange.com/q/93798/23363 –  gertvdijk Oct 6 '13 at 13:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.