In this hands-on lab, we will practice working with users and groups in Linux. Knowing how to determine user attributes and group membership is fundamental to managing Linux systems.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Determine What Groups sysuser Belongs To
- Run one of the following commands:
id sysuser
groups sysuser
cat /etc/group | grep sysuser
- Run one of the following commands:
- Determine sysuser’s Home Directory
- Run one of the following commands:
getent passwd sysuser
cat /etc/passwd | grep sysuser
- Run one of the following commands:
- Determine sysuser’s Login Shell
- Run one of the following commands:
getent passwd sysuser
cat /etc/passwd | grep sysuser
- Run one of the following commands: