NDG Linux Essentials -Ch 13

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

True

16. In distributions that do not allow the root user to login directly or via the su command, the installation process automatically configures one user account to be able to use the sudo command to execute commands as if they were executed by the root user.

W Uptime

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

/etc/passwd /etc/shadow

1. Which files contain user account information?

Id

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

Id bob

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

Group_name:password_placeholder:GID:user_list

12. The /etc/group file follows what structure?

True

13. A GID is associated with a group name.

At least 16 groups

14. A user can belong to...

True

15. Sudo privileges can be used to specify which user can use the sudo command to execute commands as other users.

False

18. The /etc/shadow file contains plain-text passwords.

getent

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

The root user

2. Which user can view the /etc/shadow file?

Id

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

True

4. Each user belongs to at least one group.

Who

5. Which command will display the users that are current logged in to the system?

... run certain commands as the root user.

6. The sudo command allows regular users to ...

True

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

su - branch su -I branch su branch

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

vi

9. The visudo command users which text editor by default?


Conjuntos de estudio relacionados

Orthodontic Assistant Terminology

View Set

Healthy Wealthy and Wise Chapter 2/3 Quiz

View Set

AP Psych - Unit 12 & 13: Abnormal Psychology & Treatments

View Set