CompTIA
XK0-004 · Question #152
An administrator is uncomfortable allowing users to log in as root. Which of the following ensures that root logins are disallowed?
The correct answer is A. usermod -L root. Lock a user's password. This puts a '!' in front of the encrypted password, effectively disabling the password. You can't use this option with -p or -U."
Security
Question
An administrator is uncomfortable allowing users to log in as root. Which of the following ensures that root logins are disallowed?
Options
- Ausermod -L root
- Busermod -G root
- Cusermod -B root
- Dusermod -U root
How the community answered
(33 responses)- A88% (29)
- B3% (1)
- C3% (1)
- D6% (2)
Explanation
Lock a user's password. This puts a '!' in front of the encrypted password, effectively disabling the password. You can't use this option with -p or -U."
Topics
#usermod#account lockout#root security#login restriction
Community Discussion
No community discussion yet for this question.