#readwise
# Linux Fundamentals - User Management

## Metadata
- Author: [[Hack The Box]]
- Full Title: Linux Fundamentals
- URL: https://academy.hackthebox.com/module/18/section/71
## Highlights
Here is a list that will help us to better understand and deal with user management.
- `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.
---