As part of the temporary assignment to the Nautilus project, a developer named yousuf requires access for a limited duration. To ensure smooth access management, a temporary user account with an expiry date is needed. Here’s what you need to do:
Create a user named
yousufonApp Server 1in Stratos Datacenter. Set the expiry date to2024-01-28, ensuring the user is created in lowercase as per standard protocol.
Follow the Day 01 to connect server and run the following command:
sudo useradd -m -e 2024-01-28 yousuf
Verify
cat /etc/passwd
sudo su yousuf
chage -l username shows account aging infosudo chage -E 2024-12-31 usernamechage -l to track account statususerdel -r username to completely removechage: Modify user password expiry informationusermod -e: Modify existing user’s expiry datepasswd -S: Check password status