#readwise # Linux Fundamentals - User Management ![rw-book-cover](https://readwise-assets.s3.amazonaws.com/static/images/article3.5c705a01b476.png) ## 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. ---