Ch. 10 Questions

Ace your homework & exams now with Quizwiz!

8.) What is the name of the file that contains a listing of all users on the system and their home directories?

A. /etc/passwd

4.) What's the name used to describe a user providing a user name and password to log in to a system?

D. authentication

16.) What command can you use to view journald log entries on a system that uses Systemd?

B. journalctl

12.) When a printer is rejecting requests,___

A. The print queue does not accept jobs and sens a message to the user noting that the printer is unavailable

19.) You use lpstat and determine that a user named User2 has placed two large print jobs in the queue for Printer1 that have yet to start printing. They have print job ids of Printer1-17 and Printer1-21, respectively. Which command would you use to remove these two jobs from the print queue?

A. cancel printer1-17 printer1-21

7.) Which command can be used to send a print job to the default printer named Printer1? (Choose all that apply)

A. lp -d Printer1 file C. lp file

3.) When a printer is disabled,____

B. The print queue accepts jobs into the print queue and holds them there until the printer is enabled again

14.) Most log files on the system are found in which directory?

C. /var/log

10.) What is the name of the utility used to rotate log files?

C. logrotate

20.) Which command is used to delete a user account?

C. userdel username

5.) Which command can you use to lock a user account?

C. usermod -L username

17.) Which command would you use to unlock a user account?

C. usermod -U username

15.) Which file contains default information such as UID and GID ranges and minimum password length to be used at user creation

C./etc/login.defs

13.) When referring to the /etc/rsyslog.conf file,___specifies information from a certain area of the system, whereas the level of importance of that information

D. Facility, priority

6.) Which command can be used to alter the primary group associated with a given user temporarily

D. newgrp

1.) The process of sending print jobs from the print queue to the printer is called___

D. printing

18.) Along with a listing of user accounts the /etc/passwd files contains information on account expiry. True or False?

False

9.) UIDs and GIDs are unique to the system and once used, can never be reused. True or False?

False

11.) You can lock a user account by changing the default login shell to an invalid shell in /etc/passwd. True or False?

True

2.) You can clear a log file simply by redirecting nothing into it. True or False?

True


Related study sets

Are E-Sports Real Sports? Vocabulary for the YES Opinion

View Set

Chapter 5 The Performance of Non-Traditional Banking Companies

View Set

Chapter 9: Legal and Ethical Issues

View Set

Chapter 4: Validating and Documenting Data

View Set

Environmental MCQ Progress Check Unit 1

View Set

Comparative Politics Exam 2 Study Guide

View Set