100-Days-Of-DevOps-Challenge-KodeKloud

Temporary User Setup with Expiry Date

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 yousuf on App Server 1 in Stratos Datacenter. Set the expiry date to 2024-01-28, ensuring the user is created in lowercase as per standard protocol.

Steps

  1. Follow the Day 01 to connect server and run the following command:

     sudo useradd -m -e 2024-01-28 yousuf
    
  2. Verify

     cat /etc/passwd
     sudo su yousuf
    

Good to Know?

User Account Expiry

Temporary Account Management