Challenge - 5 Problems
Password Pro
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate1:30remaining
Output of passwd command with expired password
What is the output when running
passwd -e username on a Linux system?Linux CLI
passwd -e username
Attempts:
2 left
💡 Hint
The
-e option forces password expiration for the user.✗ Incorrect
The
passwd -e username command expires the user's password immediately, so the user must change it at next login. The output confirms this action.💻 Command Output
intermediate1:30remaining
Result of passwd command with invalid option
What error message appears when running
passwd -z on a Linux system?Linux CLI
passwd -z
Attempts:
2 left
💡 Hint
Check how passwd handles unknown options.
✗ Incorrect
The
passwd command shows an error for invalid options, indicating the invalid option and suggesting help.🔧 Debug
advanced2:00remaining
Why does passwd fail with 'Authentication token manipulation error'?
You run
passwd to change a user's password but get the error: Authentication token manipulation error. What is the most likely cause?Attempts:
2 left
💡 Hint
Consider permissions needed to update password files.
✗ Incorrect
This error usually happens when the user lacks permission to update password files, often because they are not root or do not have sudo rights.
🚀 Application
advanced2:00remaining
Automate password expiration for multiple users
You want to expire passwords for users
alice, bob, and carol using a single shell command. Which command correctly does this?Attempts:
2 left
💡 Hint
Think about how to run a command multiple times in a loop.
✗ Incorrect
Option D uses a loop to run
passwd -e for each user individually, which is the correct approach.🧠 Conceptual
expert1:30remaining
Understanding passwd password aging options
Which
passwd option sets the minimum number of days before a user can change their password again?Attempts:
2 left
💡 Hint
Minimum days means how soon after a change the password can be changed again.
✗ Incorrect
The
-n option sets the minimum number of days between password changes.