Chapter 13 Quiz Linux

¡Supera tus tareas y exámenes ahora con Quizwiz!

The sudo command allows regular users to...

...run any commands as a system account without logging in. ...run any command as root, after providing the root password. ...run certain commands as the root user.

Which file does not contain user account information?

/etc/group

A user can belong to...

Only five groups Only one group At least 16 groups

Which user can view the /etc/shadow file?

The root user

Which command can be used to view the /etc/passwd file entries?

getent

The /etc/group file follows what structure?

group_name:password_placeholder:GID:user_list

Which command will display the UID, GID and groups your current user belongs to?

id

Which of the following commands will display the group(s) a user belongs to?

id

Which of the following commands will display the groups that the user bob belongs to?

id bob

You view the /etc/shadow file and you see the following line: root:$6$ZMBtG34xYY//3m/.07WwETy:15673:0:99999:7::: In the above line, what does $6$ZMBtG34xYY//3m/.07WwETy refer to?

password

You see the following line in the /etc/passwd file: mail:x:8:12:mail:/var/spool/mail:/sbin/nologin In the above line what does /var/spool/mail refer to?

shell primary group id home directory

Which of the following commands will NOT allow you to switch to the user, branch?

sudo branch

The visudo command uses which text editor by default?

vi

The /etc/sudoers file should be edited directly by root using the ________ command.

visudo

Which of the following commands will display how long the system has been running since the last boot?

w whois id

Which command will display the users that are currently logged in to the system?

who

At a minimum, each user belongs to at least how many groups?

1


Conjuntos de estudio relacionados

when turning at an intersection, the greatest exposure to potential conflicts occur while making a

View Set

Chapter 29 & 30- Hematology in Adults (Week 2)

View Set

What is the Incident Command System?

View Set

JD BUSINESS LAW: CHAPTER 23 WARRANTIES:

View Set

Prep U-Chap 51-Assessment and Management of Patients with Diabetes

View Set