Difference between revisions of "User Management"

From Briki
Jump to: navigation, search
m (4 revision(s))
Line 10: Line 10:
  
 
See ''man adduser'' for more options. NB. Maximum username length is 8 chars - although this script won't enforce it, it will stop many processes/tools from displaying the username properly.
 
See ''man adduser'' for more options. NB. Maximum username length is 8 chars - although this script won't enforce it, it will stop many processes/tools from displaying the username properly.
 +
 +
To add a user to an existing group:
 +
<pre>
 +
sudo adduser user group
 +
</pre>

Revision as of 09:46, 16 November 2007

To add a new user, run:

sudo adduser userid

To add a system user suitable for running daemon processes, run:

sudo adduser --system --no-create-home --group userid

See man adduser for more options. NB. Maximum username length is 8 chars - although this script won't enforce it, it will stop many processes/tools from displaying the username properly.

To add a user to an existing group:

sudo adduser user group