Chapter 10
CUPS contains versions of the lpr, lpc, lpq, and lprm commands.
True
If you want to enable a printer, you must specify the printer name to the cupsenable command.
True
The /etc/login.defs file contains parameters that set the default location for e-mail, password expiration information, minimum password length, range of UIDs and GIDs available for use.
True
Which priority used by the System Log Daemon indicates an error that should be rectified immediately, such as a corrupt system database?
alert
To send a print job to a printer, you must first use which command and specify what to print?
lp
You can restrict who can print to certain printers by using which command?
lpadmin
To change the primary group temporarily to another group that is listed in the output of the groups and id commands, you can use which command?
newgrp
To convert a system so that it uses an /etc/shadow file to store the encrypted password after installation, you can run which command?
pwconv
Which log file contains information and error messages regarding network access generated by daemons such as sshd and xinetd?
secure
You can create user accounts on the Linux system by using which command?
useradd
Any line that starts with a(n) which character is a comment in the /etc/rsyslog.conf file?
#
To lock an account, you can use the usermod command with which option?
-L
The lp command uses which option to specify the destination printer name?
-d
Which option to the lpstat command causes a list of printers that are enabled to be displayed?
-p
You can specify which option to the userdel command to remove the home directory for the user and all of its contents?
-r
By default, what is the priority on all print jobs?
50
Can a user account be used to log in to the system before its password is set?
False
Can each user on a Linux system specify his or her own default printer?
False
Can the lp command accept information from Standard Input?
False
Can the usermod command be used to modify the password expiration information stored in /etc/shadow?
False
Did older Linux systems store encrypted passwords in the /etc/shadow file?
False
In the CUPS printing system, the lpr command is used to print documents to the print queue.
False
Most printers are Plug and Play compatible and must be manually configured when they are plugged into the system.
False
On most Linux systems, the logrotate utility is automatically scheduled to run weekly.
False
The file that contains the configuration information for each printer installed on the system is /etc/cups/cupsd.conf.
False
To clear a log file, you can use a(n) < redirection symbol.
False
To see a list of all printers on the system and their status, you can use the -t option to which command?
lpstat
The Skeleton directory on most Linux systems is ______.
/etc/skel
Log file are typically stored in which directory?
/var/log
A user can only be a member of one group.
False
Sending print jobs from a print queue to a printer is commonly called printing.
True