Here is the video version, if you prefer it:
We talked about file modes and permissions. Let’s review that on an example:
First character (looking from left to right) tells us if we are talking about a file or a directory or something else, the next three characters tell us user permissions, the next three tell us group permissions and the next three tell us world permissions.
Then we talked about the following:
chmodis used to change file permissions
chownis used to change file owner
umaskdefines the default permissions (keep in mind the octal to binary conversion we talked about and how it relates to permissions)
passwdis used to change users password
adduseris used to add users
userdelcommand is used to delete users
/etc/passwdkeeps users and their IDs, while
/etc/sudoerskeeps the list of users who can execute the
Hope you refreshed your memory!
Subscribe to my newsletter to keep abreast of the interesting things I'm doing. I will send you the newsletter only when there is something interesting. This means 0% spam, 100% interesting content.