Professional Documents
Culture Documents
LINUX 1
Lab 4
Date: 3-7-2021
The name of the machine should be YourName-XXX, where XXX is the last 3 digits of your student
ID. Whenever possible make sure your screenshots are showing the name of the Linux machine on
the command-line.
Use the appropriate command to display the last five users you have just created on the screen.
2. Display all contents (including hidden files) in Carter home directory. [5]
4. Create a password for Jillian (use this password Pa$$word) and display the encrypted password on the
screen using the appropriate command and Linux file. [5]
5. Add a comment for Patrick to show Developer and configure his user account expiry date to 2022-01-
01. Display the change of Patrick user account attributes on the screen. [5]
8. Lock Jillian user account and display the last five lines of the /etc/shadow file on the screen. [5]
9. What symbol in the /etc/shadow file indicates that Jillian account is locked? [5]
!!_______________________________
Mark:__________
~End of Lab~