Question
Question 1 (0.2 points) Any user can use the sudo command. Question 1 options: True False Save Question 2 (0.2 points) Which command can be
Question 1 (0.2 points)
Any user can use the "sudo" command.
Question 1 options:
True | |
False |
Save
Question 2 (0.2 points)
Which command can be used to find out what groups a user is in?
Question 2 options:
w | |
id | |
whoami | |
su |
Save
Question 3 (0.2 points)
Which of the following command is the best to get a list of users who are in the group "students"?
Question 3 options:
grep ^students /etc/group | |
grep students /etc/passwd | |
grep ^students /etc/passwd | |
grep students /etc/group |
Save
Question 4 (0.2 points)
Where are encrypted passwords stored in a Linux system?
Question 4 options:
/etc/passwd | |
/etc/group | |
/etc/shadow | |
/etc/user |
Save
Question 5 (0.2 points)
Which kind of information is NOT included in the /etc/passwd file?
Question 5 options:
GECOS | |
Login shell | |
User home directory | |
Encrypted password |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started