Hi,
Le jeudi 05 mars 2009 à 22:03 +0000, Xypron a écrit :
> Package: rkhunter
> Version: 1.2.9-2
> Severity: normal
>
> Hello!
>
> In ssh_config I have the following lines:
>
> #PermitRootLogin yes
> PermitRootLogin no
>
[...]
> I would not expect rkhunter to complain about a comment.
Actually, it should not complain given the following code:
permitrootlogin=`cat ${I}/sshd_config | grep "PermitRootLogin" | grep -v "#"`
As you can see, the commented lines are not considered (grep -v "#")
Can you please send the relevant parts of the rkhunter log file?
Also, what is your ALLOW_SSH_ROOT_USER option in /etc/rkhunter.conf (I
guess "no", given the message you get)?
For your information, newer releases do not have this issue.
Cheers,
Julien
--
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
Rejoignez maintenant plus de 4 000 personnes, associations, entreprises
et collectivités qui soutiennent notre action
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]