February 2020
Intermediate to advanced
666 pages
15h 45m
English
In this lab, you'll create a couple of new user accounts, set expiration data, and view the results. You can do this lab on either the CentOS or the Ubuntu virtual machine. The only difference will be with the useradd commands:
sudo useradd -e 2023-06-30 samsonsudo chage -l samson
For Ubuntu, run this command:
sudo useradd -m -d /home/samson -s /bin/bash -e 2023-06-30sudo chage -l samson
sudo usermod -e 2023-07-31sudo chage -l samson