Run the date command on your system. Is your system clock accurate? Run the command ntpd –gnq. Did you system time change? By how much?
Add this line:
to /etc/syslog.conf and restart syslog. Now run tail –f /var/log/everything. What kinds of things do you see? How often are events written to this log?
local5facility to your configuration. Use logger to write to your new logfile, and verify its contents. Compare your log entries with those in /var/log/messages.
Examine /etc/logrotate.conf. What happens after /var/log/messages is rotated?
On a system with an existing printer, examine /etc/printcap. Which print filter is used for the printer? Which queue or queues are directed at the printer?
Check the printer status with lpq -P
printerand lpc status. Print to the queue using lpr -P
Examine /var/spool/lpd for the spool directory of your print queue. Examine the files you find there.
Determine what MTA is installed on your system. Is it listening on TCP port 25? How can you tell?
Type the command telnet localhost 25. What do you see?
Type the command echo “test” | mail root. Now type tail /var/log/maillog. Was your mail delivered? How can you tell?