General
cancel
Showing results for 
Search instead for 
Did you mean: 

who can help me !thanks I want log telnet connect info to logfile,but I can not log who telnet ?

SOLVED
Go to solution
zhuzhu_1
Occasional Contributor

who can help me !thanks I want log telnet connect info to logfile,but I can not log who telnet ?

who can help me !thanks I want log telnet connect info to logfile,but I can not log who telnet the server
i edit the file /etc/rc.config.d/netdaemons and change the INETD_ARGS line to read:

INETD_ARGS="-l"

and add "daemon.info /var/adm/syslog/daemon.log "to /etc/syslog.conf ;
i can get telnet info but can not get who telnet the server
what can i do?
1 REPLY
Steven E. Protter
Exalted Contributor
Solution

Re: who can help me !thanks I want log telnet connect info to logfile,but I can not log who telnet ?

Shalom,

You may need to restart the syslog daemon to get these results.

Please post your complete telnetd line from inetd.conf

Did you restart inetd?

Most shops are moving away from telnet, you can more easily do custom logging with ssh.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com