Users and groups · Question 10 of 12

The password field of anna in /etc/shadow starts with an exclamation mark. What does that mean?

1 answer is correct. Medium Created with AI

Show answer

Answer

  • B Password login for anna is locked

Explanation

passwd -l and usermod -L put a ! in front of the hash so it no longer matches. passwd -u or usermod -U remove it again, and the old hash is kept.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications