Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - 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
Annmarie
1 days ago
User2: But wouldn't adding the user to /etc/noaccess also work?
upvoted 0 times
...
Nguyet
3 days ago
User1: I agree, changing the shell to /bin/false will prevent interactive login.
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
8 days ago
True, setting the UID to 0 is definitely a bad idea.
upvoted 0 times
...
Terrilyn
11 days ago
E) Create a .nologin file in the user's home directory.
upvoted 0 times
...
Sheron
1 months ago
A) Run the command chsh -s /bin/false with the user name.
upvoted 0 times
...
...
Brice
2 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
16 days ago
C) Remove the user from the group staff.
upvoted 0 times
...
Paz
17 days ago
E) Create a .nologin file in the user's home directory.
upvoted 0 times
...
Bernardine
22 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
2 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
3 months ago
I think the correct answer is E) Create a .nologin file in the user's home directory.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77