User Management
Here is a list that will help us to better understand and deal with user management.
Command
Description
sudo
Execute command as a different user.
su
The su
utility requests appropriate user credentials via PAM and switches to that user ID (the default user is the superuser). A shell is then executed.
useradd
Creates a new user or update default new user information.
userdel
Deletes a user account and related files.
usermod
Modifies a user account.
addgroup
Adds a group to the system.
delgroup
Removes a group from the system.
passwd
Changes user password.
cat /etc/shadow
to see passwords and users
Last updated
Was this helpful?