Linux Test 4 10,11 Flashcards
If you want to enable a printer, you must specify the printer name to the cupsenable command.
t
CUPS contains versions of the lpr, lpc, lpq, and lprm commands
t
Most printers are Plug and Play compatible and must be manually configured when they are plugged into the system
f
On most Linux systems, the logrotate utility is automatically scheduled to run weekly.
f
A user can only be a member of one group
f
Sending print jobs from a print queue to a printer is commonly called printing.
t
In the CUPS printing system, the lpr command is used to print documents to the print queue
f
The file that contains the configuration information for each printer installed on the system is /etc/cups/cupsd.conf.
f
To clear a log file, you can use a(n) < redirection symbol.
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.
t
To send a print job to a printer, you must first use the ____ command and specify what to print
lp
To see a list of all printers on the system and their status, you can use the -t option to the ____ command.
lpstat
The lp command uses the ____ option to specify the destination printer name.
-d
By default, all print jobs have a priority of ____.
50
The ____ option to the lpstat command causes a list of printers that are enabled to be displayed.
-p
You can restrict who can print to certain printers by using the ____ command.
lpadmin
Log files are typically stored in the ____ directory.
/var/log
The ____ log file contains information and error messages regarding network access generated by daemons such as sshd and xinetd.
secure
Any line that starts with a(n) ____ character is a comment in the /etc/rsyslog.conf file.
#
The ____ priority used by the System Log Daemon indicates an error that should be rectified immediately, such as a corrupt system database
alert
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
You can create user accounts on the Linux system by using the ____ command.
useradd
The skeleton directory on most Linux systems is ____.
/etc/skel
To lock an account, you can use the usermod command with the ____ option.
-L