Questions
Here are a few thoughts and questions that sum up the main ideas covered in this chapter:
- What is a superuser?
Hint: Try sudo
- Think of a command-line utility for creating users. Can you think of another one?
Hint: Think about adduser and useradd
- What is the octal value of the
-rw-rw-r—access permission?
Hint: Remember what the values of r, w, and x are: 4, 2, and 1
- What is the difference between a primary group and a secondary (supplementary) group?
- How do you change the ownership of a user’s home directory?
- Can you remove a user from the system without deleting their home directory? How?