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