Performing Local Account Management on a Linux Server (XK0-006)
This lab aligns to CompTIA Linux+ (XK0-006) exam objective 2.2: Given a scenario, perform local account management in a Linux environment.
By the end of this lab, you will be able to:
- Create, modify, and delete local user accounts using
useradd,usermod,userdel, andpasswd. - Manage local groups using
groupadd,groupdel, andusermod, and verify group membership. - Use session and identity commands including
id,last,lastlog,w, andwhoto inspect user activity. - Describe the structure and purpose of the
/etc/passwd,/etc/shadow, and/etc/groupaccount files.
Overview
Welcome to the Performing Local Account Management on a Linux Server lab. In this lab, you will manage local user and group accounts on an Ubuntu system using command-line tools. You will create users with and without home directories, set and lock passwords, configure password expiration policies, and switch between users. You will also create and delete groups, manage group membership, and use identity and session commands to inspect account activity. A final task set explores the structure of the Linux account files where user, password, and group information is stored. By the end of this lab, you will be able to manage local accounts and maintain a secure, well-organized Linux server environment.
You will complete the following 1 activity in this lab:
- Exercise 1 – Performing Local Account Management on a Linux Server
Click Next to continue.