CompTIA
LX0-104 · Question #689
LX0-104 Question #689: Real Exam Question with Answer & Explanation
The correct answer is E: The password becomes invalid which disables password based logins although other login. See the full explanation below for the reasoning.
Question
What happens if the password of a user in the /etc/shadow file is prepended with the ! character?
Options
- AWhen logging in, the user automatically gets root privileges in addition to his regular
- BThe password is inverted which allows the user to log in with any password other than the
- CThe user is disabled and all login methods, including but not limited to password based logins,
- DUpon the next log in, the user is forced to change his password.
- EThe password becomes invalid which disables password based logins although other login
Community Discussion
No community discussion yet for this question.