Operating System - HP-UX
1825775 Members
2891 Online
109687 Solutions
New Discussion

HPUX 11.0/10.20 FTP Logging

 
LG Porter
Frequent Advisor

HPUX 11.0/10.20 FTP Logging

How can ftp logging be re-configured to log to another location or file other than /var/adm/syslog/syslog.log?
5 REPLIES 5
Patrick Wallek
Honored Contributor

Re: HPUX 11.0/10.20 FTP Logging

I don't think it can be changed. If you look at 'man ftpd' you will see that the '-l' option, which you would see in the ftp line in /etc/inetd.conf, "Causes each FTP session to be logged in the syslog file."

I think you either have logging of FTP to syslog.log or you don't have any FTP logging.

I have tried working syslog.conf to get the FTP logging moved elsewhere, but I've never had any luck.
Sanjay_6
Honored Contributor

Re: HPUX 11.0/10.20 FTP Logging

Hi,

you can specify an alternate location for ftp logging using ftpaccess. Do a "man ftpd" for more info on the options available with ftpd daemons and "man ftpaccess" on how to configure ftpaccess for your system.

Hope this helps.

Regds
S.K. Chan
Honored Contributor

Re: HPUX 11.0/10.20 FTP Logging

Cannot be done. If "-l" option enabled in inetd.conf file for ftpd it'll log it to syslog.log file.
Uday_S_Ankolekar
Honored Contributor

Re: HPUX 11.0/10.20 FTP Logging


Use ftp in verbose mode..
ftp -v > /tmp/ftplog.$$ 2>&1

USA..
Good Luck..
Mark Greene_1
Honored Contributor

Re: HPUX 11.0/10.20 FTP Logging

add this entry to your /etc/syslog.conf file near the top:

daemon.notice /var/adm/syslog/daemon.log

this will reroute logging for ftp (and all the daemon processes started by inetd and a few others) to this file. Not the the complete segregation of ftp info you were looking for, but it gets the messages out of your syslog.log file.

HTH
mark
the future will be a lot like now, only later