A second root account and a readable shadow file
Audit local accounts with awk. Find any account other than root with UID 0, any account with an empty password hash, and a permission on /etc/shadow that leaks every hash.
- Terminal mission
- Beginner
- 3 questions
- 0 of 3 solved
Your goal
Your goalFind a second root account, a readable password file, and an account with no password.
A file integrity alert fired on /etc/passwd on app-11. You have a shell as analyst.
/etc/passwd fields are separated by colons: name, an x that points to the shadow file, UID, GID, comment, home, shell. /etc/shadow holds the hashes and should only be readable by root and the shadow group.
What’s on screen
- Briefing
- the story: what happened and what evidence you were handed.
- Terminal
- the dark box. It is a pretend Linux shell that runs in your browser. Type a command and press Enter. Nothing you type touches a real system.
- Walkthrough
- the numbered path. Each step says what to type and what you should see. Hints open one at a time.
- Answer boxes
- under each question step. Type what you found and press Check.
Words to know
- UID
- user ID number
- GID
- group ID number
app-11 · Privilege audit
Type help for the command list and objectives for your tasks. Everything runs in this browser.
Up and down arrows walk your history. Ctrl+L clears the screen. Try help, ls, and objectives.
Read first
More in Privilege audit
The whole walkthrough
Every step in order: 294 words, about 2 min. It gives away every answer, so try the steps first.