Term
Most log files are stored as text in the ___________ (full path) directory. |
|
Definition
|
|
Term
What log file shows system boot and daemon startup? (full path) |
|
Definition
|
|
Term
The _______ log (full path) shows the operation or failure of cron jobs. |
|
Definition
|
|
Term
The _______ log (full path) shows the hardware detection successes and failures. |
|
Definition
|
|
Term
What log file shows email sent by the sendmail daemon? (full path) |
|
Definition
|
|
Term
What log file users last logon times? |
|
Definition
|
|
Term
The ______ log (full path) shows daemon startup and system level messages produced AFTER booting. |
|
Definition
|
|
Term
What log file (full path) shows network access generated by the sshd (secure shell daemon) and xinetd (extended internet daemon)? |
|
Definition
|
|
Term
What log file (full path) shows XWindows operations and failures? |
|
Definition
/var/log/Xorg.*.conf (* represents a number) or /var/log/XFree86 |
|
|
Term
The _________ configuration file (full path) is used to manage the operation of the system log daemon. |
|
Definition
/etc/syslog.conf or /etc/rsyslog.conf |
|
|
Term
True or False: The facility in the /etc/syslog.conf file corresponds to a daemon or kernal and must always match the component exactly. |
|
Definition
False. The facility might not match the name of the component exactly. |
|
|
Term
In the following entry from the /etc/rsyslog.conf file identify the facility, priority and logfile.
user.crit /var/log/user.log |
|
Definition
facility is user priority is crit logfile is user.log |
|
|
Term
The ______ facility in the /etc/rsyslog.conf (or /etc/syslog.conf) logs activity for the kernel. |
|
Definition
|
|
Term
The syslogd service recognizes 8 priority levels and 2 wildcards. Identify them in order from lowest to highest. |
|
Definition
debug, info, notice, warn (warning), err (error), crit, alert, emerg (panic) * and none are the wildcards |
|
|
Term
The _______ daemon provides automatic log rotation services. |
|
Definition
|
|
Term
The logrotate executable is included in the /etc/cron.daily directory to run by the _____ daemon. |
|
Definition
|
|
Term
The ________ file (full path) contains defaults for how logrotate should run, but the majority of log rotation configuration files are in the ________ directory (full path). |
|
Definition
/etc/logrotate.conf, /etc/logrotate.d |
|
|
Term
When scheduling tasks the ____ command works best if the job will run once, and the ____ command is best for jobs which run periodically. |
|
Definition
|
|
Term
When using the at command the _______ (full path) is ignored if the /etc/at.allow file is created. |
|
Definition
|
|
Term
The output of an at job can be handled in what two ways? |
|
Definition
1. Redirected to a file 2. Email the results to the user |
|
|
Term
What are the two commands to delete an at job? |
|
Definition
|
|
Term
Which are correct syntax for the at command? A. at now + 1 hour B. at 4:30 -f /home/atstuff C. at -d |
|
Definition
|
|
Term
True or False: root will lose privileges to use the at command if /etc/at.allow is created and the root account is not included. |
|
Definition
False. root is always permitted to use at. |
|
|
Term
When is the cron daemon loaded? A. when the root account is authenticated B. each time a user logs in C. when the system is booted D. each time a BASH or sh shell is opened |
|
Definition
C. the cron daemon is loaded with the system is booted |
|
|
Term
User level crontabs are stored in the ______ (full path). |
|
Definition
/var/spool/cron/crontabs/[user] |
|
|