Showing posts with label user. Show all posts
Showing posts with label user. Show all posts

Thursday, June 2, 2011

How to add users on Ubuntu

First, add the new user:
sudo useradd -c “John Smith” -m -s “/bin/bash” jsmith
and then create a password for the new user:
sudo passwd jsmith
The -c options lets you give a full name for the user, -m option creates a home folder, -s specifies the default shell.