AIX: How do I start local daemons at system startup?

AIX does neither use the BSD style rc.local file nor the System V style /etc/rc*.d startup files directories. To add local daemons to the system startup sequence in a BSD rc.local style use the following command to create an /etc/inittab entry: # mkitab -i rcnfs “rclocal:2:wait:/etc/rc.local >/dev/console 2>&1” # touch /etc/rc.local # chmod 700 /etc/rc.local

AIX: How do I start local daemons at system startup? Read More »

How can I log information about ftp accesses to a file?

1) In /etc/syslog.conf, add the line: daemon.debug /tmp/daemon.log 2) # touch /tmp/daemon.log # refresh -s syslogd 3) Modify your inetd.conf so that ftpd is called with the “-l” flag. You may also want the “-d” flag. This can be done with ‘smit inetdconf’. All the syslog messages from various system daemons should now appear in

How can I log information about ftp accesses to a file? Read More »

AIX : Where are the AIX log files kept?

AIX logs messages as specified in /etc/syslog.conf. Here’s an example # *.err;kern.debug;auth.notice;user.none /dev/console *.err;kern.debug;daemon,auth.notice;mail.crit;user.none /var/adm/messages lpr.debug /var/adm/lpd-errs *.alert;kern.err;daemon.err;user.none operator *.alert;user.none root *.emerg;user.none * # for loghost machines, to have authentication messages (su, login, etc.) # logged to a file, un-comment out the following line and adjust the # file name as appropriate. # # if

AIX : Where are the AIX log files kept? Read More »

Scroll to Top