Skip to content

Ubuntu 704 Server – Adding a new user

Added myself a new user (should have read the useradd man page first, should be able to set a lot of this all in one command)

  1. useradd
  2. sudo vi /etc/passwd to set group and default shell
  3. sudo vi /etc/group and add new user to the same groups as existing user
    Need to include group admin for sudo
  4. create the home directory /home/…
    chown username folder
    chgrp groupname folder

Posted in Linux.

Tagged with .

0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

Some HTML is OK

or, reply to this post via trackback.

%d bloggers like this: