when I run rkhunter -c in terminal I get several warnings how do I fix them were it says OK

Asked by Nathaniel edwards on 2011-09-23

when I run rkhunter -c in terminal I get several warnings how do I fix them were it says OK

Under :Performing file properties checks
    Checking for prerequisites

these are the files that i am worried about

/usr/bin/awk [ Warning ]
 /usr/bin/curl [ Warning ]
/usr/bin/dpkg [ Warning ]
 /usr/bin/dpkg-query [ Warning ]
 /usr/bin/gawk [ Warning ]

Also under i get warnings
Performing trojan specific checks
    Checking for enabled inetd services [ Warning ]

and

Performing system configuration file checks

 Checking if SSH root access is allowed [ Warning ]

and
 Performing filesystem checks
    Checking /dev for suspicious file types [ Warning ]
    Checking for hidden files and directories [ Warning ]

how do I fix again to make secure and green lit with OK?????

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu rkhunter Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2011-09-25
Last query:
2011-09-25
Last reply:
2011-09-25

gksudo gedit /etc/ssh/sshd_config; sudo service ssh stop; sudo service ssh start

and change:
PermitRootLogin yes

to:
PermitRootLogin no

The rest are absolutely fine.

Nathaniel edwards (loekanle) said : #2

how do I get the files not to be suspicious

It appears there is a config file, you could use that to set things which are ok

Nathaniel edwards (loekanle) said : #4

how do I access them or the config file????

Nathaniel edwards (loekanle) said : #5

what is the terminal command code to update rkhunter -c

That I am not sure of, you could see what the web says

Nathaniel edwards (loekanle) said : #7

Thanks actionparsnip, that solved my question.