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:

Joaquin
1 months ago
B) usermod is the way to go. It's like putting a padlock on the user's account without touching their stuff. Elegant!
upvoted 0 times
Howard
18 days ago
A) lock sounds too harsh, I prefer usermod for a more gentle approach.
upvoted 0 times
...
Giuseppe
22 days ago
B) usermod is the way to go. It's like putting a padlock on the user's account without touching their stuff. Elegant!
upvoted 0 times
...
...
Theola
1 months ago
Gotta be B) usermod. Wouldn't want to accidentally delete someone's files just to lock them out, you know?
upvoted 0 times
Crista
1 months ago
B) usermod
upvoted 0 times
...
Nickolas
1 months ago
A) lock
upvoted 0 times
...
...
Glenn
2 months 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
Mi
20 days ago
I agree, usermod is probably the safer option. You can always resort to userdel if necessary.
upvoted 0 times
...
Tanesha
21 days ago
Userdel does seem a bit extreme. Maybe try usermod first and see if that does the trick.
upvoted 0 times
...
Lorean
1 months ago
I think usermod is the way to go. It allows you to modify user account settings without deleting them.
upvoted 0 times
...
...
Arlie
2 months 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
2 months ago
I'd go with B) usermod. It's the surgical strike approach - just lock the account, no collateral damage.
upvoted 0 times
Hershel
21 days ago
Locking the account with usermod sounds like the safest choice.
upvoted 0 times
...
Jose
1 months ago
Yeah, usermod seems like the best option.
upvoted 0 times
...
Joanna
1 months ago
I think usermod is the way to go.
upvoted 0 times
...
...
Oliva
2 months ago
I'm not sure, but I think A) lock could also be used to lock a user's account.
upvoted 0 times
...
Alishia
2 months ago
I agree with Marilynn, usermod seems like the right command to lock a user's account.
upvoted 0 times
...
Marilynn
2 months ago
I think the answer is B) usermod.
upvoted 0 times
...
Freida
3 months 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
Darrel
1 months ago
C) userdel would delete the user's account entirely, so usermod is definitely the better option here.
upvoted 0 times
...
Beatriz
1 months ago
A) lock command might work too, but usermod is probably the safer choice.
upvoted 0 times
...
Hillary
1 months 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