What command allows a Linux client to print to a Linux-based print queue?
B) lp
Which of the following commands can be used to view print jobs in the print queue, much like the lpstatcommand?
D) lpq
In which file on a Linux system are the configuration settings for a printer stored?
A) /etc/cups/printers.conf
What file stores facility and priority information for the System Log Daemon?
C) /etc/rsyslog.conf
Which of the following keys should be pressed after typing the journalctlcommand in order to see a list of areas and criteria that can be queried?
A) Tab
Every user must have a primary group listed in which of the following files?
B) /etc/passwd
What is the primary command used to add new users to a Linux system?
C) useradd
What command should be issued to change a Linux system such that it will use the /etc/shadow file to store user passwords?
D) pwconv
Which directory contains files that are copied to all new users’ home directories when the home directory is created?
D) /etc/skel
What command should be issued to temporarily change the primary group associated with a user account?
C) newgrp
The process of sending print jobs from the print queue to the printer is called _____.
B) queuing
You can clear a log file simply by redirecting nothing into it. True or False?
A) True
B) False
A) True
When a printer is disabled, ________.
A) the print queue accepts jobs into the print queue and holds them there until the printer is enabled again
What is the term used to describe a user providing a user name and password to log in to a system?
B) authentication
Which command can you use to lock a user account?
B) usermod –L username
Which command can be used to temporarily alter the primary group associated with a given user?
B) newgrp
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
lp –d Printer1 file
and
lp file
What is the name of the file that contains a listing of all users on the system and their home directories?
B) /etc/passwd
UIDs and GIDs are unique to the system and, once used, can never be reused. True or False?
A) True
B) False
B) False
What is the name of the utility used to rotate log files?
D) logrotate
You can lock a user account by changing the default login shell to an invalid shell in /etc/passwd. True or False?
A) True
B) False
A) True
When a printer is rejecting requests,____________.
B) the print queue does not accept jobs and sends a message to the user noting that the printer is unavailable
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) facility, priority
Most log files on the system are found in which directory?
B) /var/log
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
What command can you use to view journald log entries on a system that uses Systemd?
B) journalctl
Which command would you use to unlock a user account?
D) passwd -u username
Along with a listing of user accounts, the /etc/passwd file contains information on account expiry. True or False?
A) True
B) False
B) False
You use lpstat and determine that a user named User1 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?
D) cancel Printer1-17 Printer1-21
Which command is used to delete a user account?
C) userdel username
Author
dior
ID
359643
Card Set
Computer System Admin_Chapter 10 Review Questions and Quiz Questions
Description
These are the questions from the end of the chapter and quiz questions.