Hello. I want to trace remote sessions accessing my server, and I have changed /etc/xinetd.conf to contain these lines :
+ + +
Define general logging characteristics.
log_type = SYSLOG daemon info
log_type = FILE /home/sebas/xinetd.log
log_on_failure = HOST USERID
log_on_success = PID HOST DURATION EXIT
+ + +
I restarted the service, and an empty /home/sebas/xinetd.log file has been created, but nothing gets written into it,
... neither successful connections (and there are few)
... neither failing connections ( and remote "SSH SEBAS@SERVER" does not work and I want to know why ).
Any clue ? Sebastian.
The sshd daemon does not use xinetd.
Check the right log files under /var/log (login are in secure file), then if needed change /etc/syslog.conf configuration to add a new file or redirect to another syslog server.
Andre
it is good to know I have to examine SSHD and not XINETD ... thanks .... ()
ok - SYSLOG.CONF shall be my next stage
and /VAR/LOG/SECURE, as you pointed in another thread
thanks a lot