The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 11-29-2007
ravager's Avatar
ravager ravager is offline
Registered User
 

Join Date: Sep 2005
Posts: 96
Syslog and FTP

Logging can also improve security on your system by adding additional logging to the
syslog.conf file. We than can increase system logging by adding extra logging for your system
by editing inetd.conf and adding logging into each of the demons as required.

This is an example of how to improve logging on your system

vi syslog.conf
*.info /var/adm/syslog/syslog.log
*.alert /var/adm/syslog/syslog.log
*.notice /var/adm/syslog/syslog.log
*.warning /var/adm/syslog/syslog.log
*.err /var/adm/syslog/syslog.log
*.crit /var/adm/syslog/syslog.log rotate time 1d files 9


In your cas you also want to add logging for FTP

Extra logging on demons in controlled by inetd.conf can be configured
vi /inetd.con
ftp stream tcp6 nowait root /usr/sbin/ftpd ftpd –l

Logging can be added to many of the components in inetd.conf.

Make sure to create the files for syslog other wise no logging will be done
> /var/adm/syslog/syslog.log

Also refesh syslogd and inetd once you are done
Reply With Quote