Difference between revisions of "Linux user & group administration"
Jump to navigation
Jump to search
To Linux
m |
m |
||
Line 1: | Line 1: | ||
[http://www.debianadmin.com/users-and-groups-administration-in-linux.html User and group admin] | == Add user == | ||
Add user | |||
<pre># adduser username | |||
# passwd username</pre> | |||
== Delete user == | |||
Delete user | |||
<pre># userdel -r username</pre> | |||
Other tips:<br>[http://www.debianadmin.com/users-and-groups-administration-in-linux.html User and group admin] | |||
== /etc/passwd == | == /etc/passwd == |
Revision as of 11:29, 20 April 2011
Add user
Add user
# adduser username # passwd username
Delete user
Delete user
# userdel -r username
Other tips:
User and group admin
/etc/passwd
/etc/passwd file
/etc/group
/etc/group file
sudo
Setup RHEL/CentOS to use sudo in command line & x setup