Lab 3
Lab 3
Step 3: Use usermod to change Samson’s account expiration date to July 31, 2025:
Step 4: Assign a password to Samson’s account, then force him to change his password
on his first login.
2. In the home directory of any of your Linux virtual machines, create the
pwnpassword.sh script with the following content:
3. Add the executable permission to the script: