Here is the video version, if you prefer it:
We talked about file modes and permissions. Let’s review that on an example:
-rw-r--r--
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:
chmod
is used to change file permissionschown
is used to change file ownerumask
defines the default permissions (keep in mind the octal to binary conversion we talked about and how it relates to permissions)passwd
is used to change users passwordadduser
is used to add usersuserdel
command is used to delete users/etc/passwd
keeps users and their IDs, while/etc/sudoers
keeps the list of users who can execute thesudo
command
Hope you refreshed your memory!
NewsletterUpdates on interesting things I am doing
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.