1

[ubuntu] useradd script

view story
linux-howto

http://ubuntuforums.org – I have done some searching for this topic and find some things that are similar; however i really don't know enough about scriping to pull together what i need. What i need is a small script to take a username and password from the command line, create a new user, with alternate shell, add an additional group then copy some files around. for example: # newuser username password create the user, change the password, add a group and assign a home directory using the arguments passed. the rest i can probably figure out. Thanks in advance for any help. (Hardware)