Linux Lab#LI03-1: Manage users and groups
Lab
linux
lab
bash
user
lab
📘 Linux Lab#LI03-1: Manage users and groups
- Use the
/etc/skel
directory to define profile settings before adding any user accounts. - Set password and account expirations using the
/etc/login.defs
file before adding any user accounts. Use the following password requirements:- Passwords should expire after 90 days, with a five-day warning period.
- Use the command line to create five user accounts to use in later activities. You will experiment with permissions and ownership by using these accounts. Give each user a unique name but set them all with the same password (for your own sanity).
- Use the command line to create five groups based on fictitious departments: sales, marketing, human resources, IT, engineering. Place one user from above into each group.
- Delegate the ability to reboot the system to only one user by using
sudo
.