NDG Linux Essentials Chapter 13

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

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

... run certain commands as the root user.

1. Which files contain user account information?

/etc/passwd /etc/shadow

14. A user can belong to...

At least 16 groups

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

False

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

Id bob

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

The root user

13. A GID is associated with a group name.

True

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

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.

True

4. Each user belongs to at least one group.

True

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

True

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

W Uptime

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

Who

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

getent

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

su - branch su -I branch su branch

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

vi

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

Group_name:password_placeholder:GID:user_list

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

Id

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

Id


Kaugnay na mga set ng pag-aaral

Chapter 5: Applying Newton's Laws

View Set

DISCRETE MATH 2030 - TEST 2 REVIEW - QUESTIONS OFF QUIZ ONLY

View Set

Chapter 9: Externalities and Public Goods

View Set

Solving Equations with Parentheses

View Set

Construction management midterm review

View Set

Saunders Fluid & Electrolyte Practice Questions

View Set