Linux Administration: Creating or Adding a New User

Today I had to add a new user to a server running Ubuntu Server 7.04 using the Bash shell. The new user’s login will be ‘bob’.

  1. First create the user’s login to the system – type:  adduser bob
  2. Afterwards, I wanted to add the new user to a few groups, specifically groups I belong to in the system. So I typed: groups alex
  3. Now you can add whatever groups you think bob needs to belong to by typing: adduser username groupname

If you would like to know more about administering users, I recommend looking at the following links:

Leave a Reply