Linux+ Chapter 10
The unique User ID that is assigned to each user is called ____.
UID
____ is the utility used to back up and clear log files from entries stored in the /etc/logrotate.conf file and files stored in the /etc/logrotate.d directory.
logrotate
To send a print job to a printer, you must first use the ____ command and specify what to print.
lp
You can restrict who can print to certain printers by using the ____ command.
lpadmin
To see a list of all printers on the system and their status, you can use the -t option to the ____ command.
lpstat
To change the primary group temporarily to another group that is listed in the output of the groups and id commands, you can use the ____ command.
newgrp
To convert a system so that it uses an /etc/shadow file to store the encrypted password after installation, you can run the ____ command.
pwconv
____ is the daemon that handles the logging of most events.
rsyslogd
Accepting print jobs into a print queue is called ____.
spooling
You can create user accounts on the Linux system by using the ____ command.
useradd
Any line that starts with a(n) ____ character is a comment in the /etc/rsyslog.conf file.
#
The lp command uses the ____ option to specify the destination printer name.
-d
The ____ option to the lpstat command causes a list of printers that are enabled to be displayed.
-p
You can specify the ____ option to the userdel command to remove the home directory for the user and all of its contents.
-r
Log files are typically stored in the ____ directory.
/var/log
T/F - In the CUPS printing system, the lpr command is used to print documents to the print queue.
False
T/F - On most Linux systems, the logrotate utility is automatically scheduled to run weekly.
False
T/F - The file that contains the configuration information for each printer installed on the system is /etc/cups/cupsd.conf.
False
T/F - To clear a log file, you can use a < redirection symbol.
False
____ is a printing system used by many older Linux computers.
LPD
The ____ is the group that is made the group owner of any file or directory that the user creates.
Primary group
The ____ log file contains information and error messages regarding network access generated by daemons such as sshd and xinetd.
Secure
To lock an account, you can use the usermod command with the ____ option.
-L
The skeleton directory on most Linux systems is ____.
/etc/skel
By default, all print jobs have a priority of ____.
50
The ____ priority used by the System Log Daemon indicates an error that should be rectified immediately, such as a corrupt system database.
Alert
The most common printing system used on Linux computers is ____.
CUPS
The area of the system to listen to in non-comment entries in the /etc/syslog.conf file is the ____.
Facility
T/F - A user can only be a member of one group.
False
T/F - Most printers are Plug and Play compatible and must be manually configured when they are plugged into the system.
False
The primary Group ID for a user is called ____.
GID
T/F - CUPS contains versions of the lpr, lpc, lpq, and lprm commands.
True
T/F - If you want to enable a printer, you must specify the printer name to the cupsenable command.
True
T/F - Sending print jobs from a print queue to a printer is commonly called printing.
True
T/F - 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