In this chapter, we covered a wide array of techniques for managing user and group accounts. First, we investigated the various directories from which the new users' home directories are populated. Next, we dealt with user account creation. We saw how we add or remove a user account. In addition, we saw how to set a password for a user account. Also, we looked at the various configuration files where the users' passwords are kept, particularly, focusing on the /etc/passwd and the /etc/shadow files. Following this, we dealt with modifying properties for a user account.
We touched on locking and unlocking a user account. Also, we worked with password expiration settings using the chage command. Finally, our focus was on the groups. We covered the steps for creating a group and adding and removing groups. Moreover, we saw how we would assign a group to a user...