Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 14 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,15 +282,20 @@ these steps:
[(Back to Top)](#table-of-contents)


| Command | Description |
|--------------------------------------------|---------------------------------|
| passwd | change logged in users password |
| su - username | switch users |
| sudo su | switch to root |
| useradd -m -s /bin/bash username | Create User |
| usermod -a -G existing_group existing_user | Add User to Group |
| who | show all logged in users |
| whoami | show which user you are |
| Command | Description |
|--------------------------------------------|--------------------------------------|
| passwd | change logged in users password |
| su - username | switch users |
| sudo su | switch to root |
| useradd -m -s /bin/bash username | Create User |
| userdel -r username | Delete User |
| usermod -a -G existing_group existing_user | Add User to Group |
| who | show all logged in users |
| whoami | show which user you are |
| last | show a list of last logged in users |
| last username | show a logged in information of user |
| cat /etc/passwd | check all user accounts information, about user ID, group ID, home directory, shell ... |
| cat /etc/shadow | check user's actual password in encrypted format and other passwords related information such as user name, last password change date, password expiration values ... |

# Groups
***
Expand Down