Specifically, what commands do I run from the terminal?
+3
A:
Without a home directory
sudo useradd myuser
With home directory
sudo useradd -m myuser
Then set the password
sudo passwd myuser
quackingduck
2008-09-01 18:59:20
+4
A:
There's basicly 2 commands to do this...
- useradd
- adduser (which is a frendlier front end to useradd)
You have to run them has root. Just read their manuals to find out how to use them.
skinp
2008-09-01 19:03:24
A:
Here's the command I almost always use (adding user kevin):
useradd -d /home/kevin -s /bin/bash -m kevin
I always forget the switches, so I always have to look it up, so I just bookmarked it here -> https://www.aplacetocode.com/tutorials/first-time-server-tutorial/
Liberty
2010-01-17 10:43:58