The fourth lab in the Ansible series: one playbook creates a group, three users with passwords kept in an encrypted Ansible Vault file, a 90-day password lifetime and a shared directory with setgid, sticky bit and a default ACL. Includes passwords that changed on every run, a user who silently lost the wheel group, a shared file nobody else could edit, and a check mode that failed on a fresh server.
Create, modify and delete Linux user accounts and groups, understand root vs. admin vs. ordinary users, switch accounts with su, run admin tasks with sudo, and manage /etc/sudoers - plus password aging with chage and the /etc/passwd, /etc/shadow and /etc/group files behind it all.