Linux user & group administration: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
Line 22: | Line 22: | ||
[http://serverfault.com/questions/205681/setup-rhel-centos-5-to-use-sudo-in-command-line-and-x Setup RHEL/CentOS to use sudo] in command line & x setup | [http://serverfault.com/questions/205681/setup-rhel-centos-5-to-use-sudo-in-command-line-and-x Setup RHEL/CentOS to use sudo] in command line & x setup | ||
== Ubuntu Add User == | |||
Example adding user "factorio". | |||
<code>sudo adduser factorio</code> | |||
Answer some questions and user created with home directory and default shell. | |||
<center>[[Linux | To Linux]]</center> | <center>[[Linux | To Linux]]</center> |
Latest revision as of 12:30, 4 May 2024
Add user & change password[edit | edit source]
Add user
# adduser username # passwd username
Delete user[edit | edit source]
Delete user
# userdel -r username
Other tips:
User and group admin
/etc/passwd[edit | edit source]
/etc/passwd file
/etc/group[edit | edit source]
/etc/group file
sudo[edit | edit source]
Setup RHEL/CentOS to use sudo in command line & x setup
Ubuntu Add User[edit | edit source]
Example adding user "factorio".
sudo adduser factorio
Answer some questions and user created with home directory and default shell.