QuestionQ60

VerifiedServices and User Management

An administrator needs to secure the account of a user who will be on extended leave. Which of the following actions should the administrator take?

Choose two
Explanation

Locking an account password with passwd -l user prevents password-based authentication, while setting the login shell to /sbin/nologin prevents normal interactive logins. Together, these measures preserve the user's account and files while restricting access during the leave period.

Community Discussion

No comments yet. Be the first to start the discussion!