sshd tourne toujours en standalone, --> a d�ja binder l'interface --> 'address already 
in use' --> stop
sshd

JeF

On Mon, Sep 30, 2002 at 04:41:19PM +0000, NDV wrote:
> Hello,
> 
> J'essaie de faire du serveur SSHd un truc demarrable par xinetd. Ci dessous
> mes logs... J'ai reussi a me loger sur le systeme en venant d'un autre range
> que celui mentionne a la directive "only_from"...
> 
> Il manque quelque chose dans ma configuration? server_args incomplet? Comment
> faire pour recevoir un Email lorsqu'un utilisateur est logge ou essaie de
> se logger? 
> 
> Merci pour vos lumieres.
> 
> Nicolas
> 
> 
> [root@host]:cat /var/log/message | grep ssh
> 
> [...]
> Sep 30 14:59:21 host rc: Starting sshd:  succeeded
> Sep 30 14:59:23 host xinetd[573]: bind failed (Address already in use (errno
> = 98)). service = ssh
> Sep 30 15:02:48 host sshd(pam_unix)[940]: session opened for user bonhomme
> by (uid=0)
> Sep 30 15:05:46 host xinetd[1082]: bind failed (Address already in use (errno
> = 98)). service = ssh
> Sep 30 15:06:15 host sshd(pam_unix)[930]: session closed for user bonhomme
> Sep 30 15:06:32 host sshd(pam_unix)[1084]: session opened for user bonhomme
> by (uid=0)
> Sep 30 15:06:35 host sshd(pam_unix)[1084]: session closed for user bonhomme
> Sep 30 15:07:15 host sshd(pam_unix)[1148]: session opened for user bonhomme
> by (uid=0)
> Sep 30 15:11:40 host xinetd[1239]: bind failed (Address already in use (errno
> = 98)). service = ssh
> Sep 30 17:21:28 host sshd(pam_unix)[1148]: session closed for user bonhomme
> [...]
> 
> [root@host]# cat /etc/xinetd.d/ssh 
> 
> service ssh
> {
>     disable           = no
>     socket_type         = stream 
>     wait                = no
>     user                = root
>     server              = /usr/sbin/sshd
>     port                = 22
>     server_args         = -i
>     only_from           = 195.238.72.0
>     access_times        = 09:00-19:00
>     log_on_success    = USERID PID HOST EXIT DURATION
>     log_on_failure      = ATTEMPT USERID HOST RECORD
> }
> 
> [root@host]# /etc/rc.d/init.d/xinetd status
> xinetd (pid 1259) is running...
> [root@host]#
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Linux Mailing List - http://www.unixtech.be
> Archives: http://www.unixtech.be/mailman/listinfo/linux
> IRC: efnet.skynet.be:6667 - #unixtech

-- 

-> Jean-Francois Dive
--> [EMAIL PROTECTED]

  There is no such thing as randomness.  Only order of infinite
  complexity.  - _The Holographic Universe_, Michael Talbot

_______________________________________________
Linux Mailing List - http://www.unixtech.be
Archives: http://www.unixtech.be/mailman/listinfo/linux
IRC: efnet.skynet.be:6667 - #unixtech

Répondre à