Difference between revisions of "En:Managing Users"

From Sabayon Wiki
Jump to: navigation, search
(Created page with "Create a new user is a kernel-shell activity. Procedure: 0) Open a terminal login as root. Enter the following commands: 1) # useradd -G audio, cdrom, video, games, cdrw, user...")
 
(Create and delete users)
Line 1: Line 1:
 
Create a new user is a kernel-shell activity.
 
Create a new user is a kernel-shell activity.
 
Procedure:
 
Procedure:
0) Open a terminal login as root.
+
 
 +
0) Open a terminal login as root.
 
Enter the following commands:
 
Enter the following commands:
 
1) # useradd -G audio, cdrom, video, games, cdrw, users, netdev, entropy, portage, plugdev, pulse -m new_user_name
 
1) # useradd -G audio, cdrom, video, games, cdrw, users, netdev, entropy, portage, plugdev, pulse -m new_user_name
Line 7: Line 8:
 
2) # passwd new_user_name
 
2) # passwd new_user_name
 
introducing the password for the new user
 
introducing the password for the new user
 +
==
  
 
For more information: # man useradd and # man passwd
 
For more information: # man useradd and # man passwd

Revision as of 16:53, 4 April 2013

Create a new user is a kernel-shell activity. Procedure:

0) Open a terminal login as root.

Enter the following commands: 1) # useradd -G audio, cdrom, video, games, cdrw, users, netdev, entropy, portage, plugdev, pulse -m new_user_name where the option -G show all groups the new_username with the-m option creates the /home/new_user_name. 2) # passwd new_user_name introducing the password for the new user

==

For more information: # man useradd and # man passwd

Delete a user is a kernel-shell activity too.

Delete an existing user. Enter the following commands: 1) # userdel user_name also delete the user's /home directory 2) rm -R /home/user_name/*

For more information: # man userdel and # man rm