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

LPI Exam 102-500 Topic 11 Question 92 Discussion

Actual exam question for LPI's 102-500 exam
Question #: 92
Topic #: 11
[All 102-500 Questions]

Which of the following steps prevents a user from obtaining an interactive login session?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Roxanne
1 months ago
I think option A with the chsh command is the way to go. Changing the user's shell to /bin/false should do the trick nicely.
upvoted 0 times
...
Tiara
1 months ago
Haha, option B is a classic 'trap' answer. Who would ever want to set a user's UID to 0? That's just asking for trouble!
upvoted 0 times
Lawrence
1 days ago
True, setting the UID to 0 is definitely a bad idea.
upvoted 0 times
...
Terrilyn
4 days ago
E) Create a .nologin file in the user's home directory.
upvoted 0 times
...
Sheron
23 days ago
A) Run the command chsh -s /bin/false with the user name.
upvoted 0 times
...
...
Brice
1 months ago
I'm not sure about the correct answer, but I'm pretty sure setting the UID to 0 (option B) would make the user an administrator, not prevent them from logging in.
upvoted 0 times
Hana
9 days ago
C) Remove the user from the group staff.
upvoted 0 times
...
Paz
10 days ago
E) Create a .nologin file in the user's home directory.
upvoted 0 times
...
Bernardine
15 days ago
A) Run the command chsh -s /bin/false with the user name.
upvoted 0 times
...
...
Dolores
2 months ago
Option E definitely seems like the right choice to prevent a user from logging in interactively. A .nologin file in the home directory is a classic way to disable logins.
upvoted 0 times
Buck
1 months ago
Option E definitely seems like the right choice to prevent a user from logging in interactively. A .nologin file in the home directory is a classic way to disable logins.
upvoted 0 times
...
Leontine
1 months ago
E) Create a .nologin file in the user's home directory.
upvoted 0 times
...
Meaghan
2 months ago
A) Run the command chsh -s /bin/false with the user name.
upvoted 0 times
...
...
Willow
2 months ago
I'm not sure, but I think A) Run the command chsh -s /bin/false with the user name could also prevent interactive login.
upvoted 0 times
...
Jonell
2 months ago
I agree with Karina. Creating a .nologin file would prevent interactive login.
upvoted 0 times
...
Karina
2 months ago
I think the correct answer is E) Create a .nologin file in the user's home directory.
upvoted 0 times
...

Save Cancel