Operating System - HP-UX
1832994 Members
2414 Online
110048 Solutions
New Discussion

Log ftp and telnet connections

 
GB Tek
Valued Contributor

Log ftp and telnet connections

Hi all, is there a way to log ftp and telnet connections and if so what file log the events? Thanks,
Ask and you shall receive
1 REPLY 1
Court Campbell
Honored Contributor

Re: Log ftp and telnet connections

vi /etc/inetd.conf

add a -l after ftpd

ex.

ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l


also you can edit /etc/rc.config.d/netdaemons. change the line:

export INETD_ARGS=

to

export INETD_ARGS="-l"

This will turn on inetd logging at startup.

to get it started manually, do:

# inetd -k
# inetd -l

messages should be in /var/adm/syslog/syslog.log
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"