Troumad a �crit:
BonjourJ'avance bizarement :
Je m'occupe avec un coll�gue d'un PC sous LINUX pour offrir des services tel que ftp aux autres coll�gues.
Nous nous sommes permis l'acc�s � ce PC par ssh aussi. Le probl�me est l�!
R�guli�rement, le fichier sshdconfig est modifier et la ligne :
PermitRootLogin no
devient
PermitRootLogin yes
Comment voir qui fait �a!
cat auth.log | grep 0:00
m'indique r�guli�rement :
Nov 24 12:00:00 LE_PC 4 sshd[22537]: Did not receive identification string from 127.0.0.1
Apr�s un changement, je trouve troujours dans le m�me fichier :
Nov 26 12:01:01 Le_PC su(pam_unix)[3833]: session opened for user news by (uid=0)
Nov 26 12:01:01 Le_PC su(pam_unix)[3833]: session closed for user news
Nov 26 12:01:02 Le_PC msec: replaced in /etc/ssh/sshd_config the line 35:
Nov 26 12:01:02 Le_PC msec: PermitRootLogin no
Nov 26 12:01:02 Le_PC msec: with the line:
Nov 26 12:01:02 Le_PC msec: PermitRootLogin yes
Nov 26 12:01:02 Le_PC msec: /etc/ssh/sshd_config modified so launched command: [ -f /var/lock/subsys/sshd ] && /etc/rc.d/init.d/sshd restart
Nov 26 12:01:02 Le_PC sshd[1199]: Received signal 15; terminating.
Nov 26 12:01:02 Le_PC msec: Stopping sshd:^[[65G[^[[1;32m OK ^[[0;39m]^M
Nov 26 12:01:02 Le_PC msec: Lancement de sshd :^[[65G[^[[1;32m OK ^[[0;39m]^M
Nov 26 12:01:02 Le_PC sshd[3932]: Server listening on 0.0.0.0 port 22.
Nov 26 12:01:03 Le_PC msec: changed mode of /var/log/wtmp from 664 to 640
Nov 26 12:01:03 Le_PC msec: changed group of /var/log/wtmp from utmp to adm
Nov 26 12:01:03 Le_PC msec: changed mode of /var/log/news/nntpsend.log from 660 to 640
Nov 26 12:01:03 Le_PC msec: changed mode of /var/log/linuxconf/netconf.log from 644 to 640
Nov 26 12:01:03 Le_PC msec: changed mode of /var/log/ksyms.0 from 644 to 640
Nov 26 12:01:03 Le_PC msec: changed group of /var/log/ksyms.0 from root to adm
--
Amicalement vOOo <http://www.openoffice-fr.org>tre
Troumad
Bernard SIAUD
troumad.free.fr <http://troumad.free.fr> : AD&D <http://troumad.free.fr/index_add.html>, math�matiques <http://www.web-etudiants.fr.st>, WEB <http://www.web-etudiants.fr.st>, Electronique <http://www.elec-etudiants.fr.st> et sectes <http://www.sectes.fr.fm>.
Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft? Rendez-vous sur "http://www.mandrakestore.com"
