Chapter 10 Quiz

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

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

False

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

What is the name of the file contains a listing of all users on the system and their home directories? a. /etc/passwd b. /etc/users c. /etc/shadow d. /etc/password

a. /etc/passwd

You use lpstat and determine that a user named User1 has placed tow 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. What command would you use to remove these two jobs from the print queue? a. cancel Printer1-17 Printer1-21 b. cancel -u Printer1-17 Printer1-21 c. cancel -a Printer1-17 Printer1-21 d. cancel 17 21

a. cancel Printer1-17 Printer1-21

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 b. lp Printer1 file c. lp file d. lp -m Printer1 file

a. lp -d Printer1 file c. lp file

When a printer is rejecting requests, ______________. a. the print queue does not accept jobs and sends a message to the user noting that the printer is unavilable b. the print queue accepts jobs in to the print queue and holds them there until the printer is accepting requests again c. the printer appears as off-line when a lp request is sent d. the print queue redirects all print jobs sent to it to /dev/null

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

What command can you use to view journald log entries on a system that uses Systemd? a. less b. journalctl c. syslog d. catlog

b. journalctl

When a printer is disabled, __________. a. the print queue does not accept jobs and send a message to the user noting that the printer is unavailable b. the print queue accepts jobs into the print queue and holds them there until the printer is enable again c. the printer appears as off-line when an lp request is sent d. the printer queue redirects all print jobs sent to it to /dev/null

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

Which file contains default information such as UID and GID ranges and minimum password length to be used at user creation? a. /etc/skel b. /etc/passwd c. /etc/login.defs d. /etc/default/useradd

c. /etc/login.defs

Most log files on the system are found in which directory? a. /etc/logfiles b. /etc/log c. /var/log d. /dev/log

c. /var/log

What is the name of utility used to rotate log files? a. syslog b. jetpack c. logrotate d. logbackup

c. logrotate

Which command is used to delete a user account? a. usermod -d username b. del username c. userdel username d. rm username

c. userdel username

Which command can you use to lock a user account? a. lock username b. secure username c. usermod -L username d. useradd -L username

c. usermod -L username

Which command would you use to unlock a user account? a. unlock username b. open username c. usermod -U username d. useradd -U username

c. usermodd - U username

What is the name used to describe a user providing a user name and password to log in to a system? a. validation b. authorization c. login d. authentication

d. authentication

When referring to the /etc/rsyslog.conf file, ____________ specifies information from a certain area of the system, whereas ____________ is the level of importance of that information a. section, priority b. service, precedents c. process, degree d. facility, priority

d. facility, priority

Which command can be used to alter the primary group associated with a given user temporarily? a. usermod b. chggrp c. gpasswd d. newgrp

d. newgrp

The process of sending print jobs from the print queue to the printer is called ________. a. spooling b. queuing c. redirecting d. printing

d. printing

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

True


Kaugnay na mga set ng pag-aaral

Critical Thinking Final 4.10.7 True/false

View Set

Class 1 Public Health Law (Midterm Study)

View Set

1.5.F - Test: Introduction to the Bible

View Set

3.3.5. Stress & emotional wellness

View Set

Study Guide EXAM 3 ATI Select All That Apply

View Set

Fundamentals Chapter 8: Outcome Identification and Planning

View Set

Bus 1-20 Ch 1 Financial statements and business decisions

View Set