My Exerpience on this lab.
In this lab, I practiced managing user and group accounts in Linux. I used commands like grep
, useradd
, passwd
, and usermod
to create and configure a new user with a home directory and bash shell. I also switched users, viewed password information, and added my account to the sudo
group. In the second part, I worked with groups by creating, renaming, and deleting them, as well as modifying file ownership and verifying permissions.
Key Concepts I Learned
This lab reinforced how Linux manages user data through the /etc/passwd
, /etc/shadow
, and /etc/group
files. I learned the importance of correct syntax when using administrative commands and how group memberships affect permissions and access control.
Challenges
A challenge I faced was using the correct flags when adding a user to a group without overwriting existing memberships. Verifying shell assignments and ownership changes also required attention to detail. Executing grep
, id
, and ls -l
helped confirm that each step was done correctly.