Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ Config ] Rlogin et Rsh : Problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
nemoflo
n00b
n00b


Joined: 12 Aug 2003
Posts: 26
Location: France

PostPosted: Tue Aug 12, 2003 11:16 pm    Post subject: [ Config ] Rlogin et Rsh : Problem Reply with quote

Bonjour à tous,

Voici mon problème : J'ai besoin de rsh et rlogin mais voilà :


Code:

root # rsh myhost ls
poll: protocol failure in circuit setup


 


Code:

rlogin myhost
rcmd: myhost: Connection reset by peer



Les fichiers suivant semblent bien configurés (je vous les tiens à dispo ):
/etc/host.conf
/etc/hosts.equiv
~/.rhosts
/etc/hosts.allow

et encore :
/etc/pam.d/rlogin, rsh, rexec
/etc/pam.conf
et encore
/etc/xinetd.conf
/etc/xinetd.d/rlogin
/etc/xinetd.d/rsh

Quelque soit les modifications dans ces fichiers, j'obtiens pratiquement toujours le même résultat.

Dans le fichier de log des autorisations PAM, j'obtiens pour rlogin et rsh respectivement :


Code:

Aug 13 02:26:40 myhost xinetd[830]: START: login pid=1254 from=192.168.0.10
Aug 13 02:26:40 myhost xinetd[1254]: FAIL: login address
Aug 13 02:26:40 myhost xinetd[830]: EXIT: login status=0 pid=1254 duration=0(sec)

Aug 13 02:38:40 myhost xinetd[830]: START: shell pid=1258 from=192.168.0.10
Aug 13 02:38:40 myhost xinetd[1258]: FAIL: shell address
Aug 13 02:38:40 myhost xinetd[830]: EXIT: shell status=0 pid=1258 duration=0(sec)


Y'aurait il quelqu'un qui puisse m'expliquer SVP
parceque là je peine :cry:

Merci
Back to top
View user's profile Send private message
yaubi
Apprentice
Apprentice


Joined: 15 Jan 2003
Posts: 194
Location: Oxford, UK

PostPosted: Wed Aug 13, 2003 12:33 am    Post subject: Reply with quote

Je ne sais pas comment fonctionne rlogin; mais je vois dans les log que tu as fournis :
Quote:
FAIL: login address
Ce qui signifie surement que la connection est refusée du fait de l'adresse IP du client. Tu n'as peut-être pas autorisé la bonne plage d'IP. peut être une pb de masque de réseau ... juste une suggestion (désolé, je ne peux pas faire mieux à cette heure-ci surtout après avoir ...bref, n'en parlons pas, c'est illegale ;)).
Back to top
View user's profile Send private message
nemoflo
n00b
n00b


Joined: 12 Aug 2003
Posts: 26
Location: France

PostPosted: Sun Aug 17, 2003 7:55 pm    Post subject: Reply with quote

Effectivement, l'option Only_from dans xinetd.conf n'était pa bin renseignée.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum