VMware Cloud Community
SebastiaNet
Contributor
Contributor

XINETD.CONF doen't work as I want

Hello. I want to trace remote sessions accessing my server, and I have changed /etc/xinetd.conf to contain these lines :

+ + +

  1. Define general logging characteristics.

  2. 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.

Reply
0 Kudos
2 Replies
AndreTheGiant
Immortal
Immortal

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

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
SebastiaNet
Contributor
Contributor

it is good to know I have to examine SSHD and not XINETD ... thanks .... (Smiley Happy)

ok - SYSLOG.CONF shall be my next stage

and /VAR/LOG/SECURE, as you pointed in another thread

thanks a lot

Reply
0 Kudos