Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Question 1 (0.2 points) Any user can use the \"sudo\" command. Question 1 option

ID: 3729531 • Letter: Q

Question

Question 1 (0.2 points)

Any user can use the "sudo" command.

Question 1 options:

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

True False

Explanation / Answer

Any user can use the "sudo" command.
Ans: True

Which command can be used to find out what groups a user is in?
Ans: id

Which of the following command is the best to get a list of users who are in the group "students"?

Which of the following command is the best to get a list of users who are in the group "students"?
grep ^students /etc/group


Where are encrypted passwords stored in a Linux system?
Ans: /etc/shadow

Which kind of information is NOT included in the /etc/passwd file?
Ans: Encrypted password