Chapter 10 Review
631
The CUPS Web administration tool can be accessed via web browser by accessing what TCP port?
rsyslog.confrsyslog.d
The System Log Daemon rsyslogd loads what configuration file under /etc, as well as any fileswithin which directory under /etc?
514
The System Log Daemon uses what TCP and UDP port to accept incoming requests from another System Log Daemon on a remote system?
newgrp
To change the primary group temporarily to another group that is listed in the output of the groups and id command, you can use which command?
alert
What System Log Daemon priority indicates an error that should be rectified immediately, such as a corrupt system database?
/etc/cups/printers.conf
What configuration file contains parameters that set the default location for e-mail, password expiration information, minimum password length and the range of UIDs and GIDs available for use?
secure
What log file contains information and error messages from the linux kernel?
-r
What option can be added to the userdel command to remove the home directory of the target user?
maxuse
What option can be used in the journal configuration file to specify a file size limit to the event log?
-p
What option can be used with the lpstat command to display a list of printers that are enabled?
d
What option should be used in conjunction with the lp command in order to specify the destination printer name?
emerg or panic
What priority used by the System Log Daemon indicates a very serious system condition that would normally be broadcast to all users?
chsh chage
What two commands below can be used to modify the password expiry information and a user's default shell?
/etc/skel
Where is the skeleton directory located on most Linux systems?
lpadmin
Which command should be used to restrict access to printers?
pwconv
A system that uses and /etc/passwd file only can be converted to use /etc/shadow for security by using what command?
lpstat
Adding the t option to what command below will provide a list of all printers on the system and their status?
useradd
In order to create user account on a Linux system, what command should be utilized?
lp
In order to send a print job to a printer using CUPS, what command must be used?
true
Logs from the cron daemon (crond) can be viewed using the command journalctl_COMM=crond
0
On Linux, the root user always has a UID of what number?
true
T/F - CUPS contains versions of the lpr, lpc, lpq, and lprm commands.
false
T/F - On most Linux systems, the logrotate utility is automatically scheduled to run weekly.