Which of the following steps prevents a user from obtaining an interactive login session?
A) Setting the UID for the user to 0 . Setting the UID for the user to 0 .
B) Running the command chsh -s /bin/false with the user name. Running the command chsh -s /bin/false with the user name.
C) Removing the user from the group staff. Removing the user from the group staff.
D) Adding the user to /etc/noaccess . Adding the user to /etc/noaccess
E) Creating a .nologin file in the user's home directory. Creating a .nologin file in the user's home directory.
Correct Answer:
Verified
Q1: Which of the following protocols is related
Q3: What is true about the file /etc/localtime
Q4: Which of the following statements about sytemd-journald
Q5: Which of the following is a valid
Q6: Which option in the chrony configuration file
Q7: Which of the following commands is used
Q8: Which of the following commands should be
Q9: Which of the following fields are available
Q10: Which of the following connection types, as
Q11: Which of the following commands configure network
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents