Monday, May 16, 2011

Enabling FTP log in AIX

You can do this relatively simply be doing the following:
1. Add the following line to /etc/syslog.conf.
daemon.debug /tmp/daemon.log
2. Create the log file and restart the syslog daemon.
# touch /tmp/daemon.log # refresh -s syslogd
3. Now you must modify your inetd.conf through SMIT. Using smit inetdconf you will add the -l and the -d option.
Now all of the syslog messages from ftpd and other daemons will now appear in the file /tmp/daemon.log

No comments:

Post a Comment