Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation Exam LFCA Topic 5 Question 42 Discussion

Actual exam question for Linux Foundation's LFCA exam
Question #: 42
Topic #: 5
[All LFCA Questions]

Which of the following commands can be used to lock a user's account so that they cannot log into a Linux server without removing any files, folders, or data?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Glenn
6 days ago
Hmm, I'm torn between B) usermod and C) userdel. Userdel might be a bit overkill, but it's a sure-fire way to keep them out.
upvoted 0 times
...
Arlie
15 days ago
I believe usermod is the correct answer because it allows you to modify user account properties, including locking the account.
upvoted 0 times
...
Christiane
17 days ago
I'd go with B) usermod. It's the surgical strike approach - just lock the account, no collateral damage.
upvoted 0 times
...
Oliva
18 days ago
I'm not sure, but I think A) lock could also be used to lock a user's account.
upvoted 0 times
...
Alishia
20 days ago
I agree with Marilynn, usermod seems like the right command to lock a user's account.
upvoted 0 times
...
Marilynn
23 days ago
I think the answer is B) usermod.
upvoted 0 times
...
Freida
27 days ago
B) usermod is definitely the way to go. It's the most straightforward option for locking a user's account without affecting their files.
upvoted 0 times
...

Save Cancel
a