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

Asked by Nathaniel edwards

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:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

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.

Revision history for this message
Nathaniel edwards (loekanle) said :
#2

how do I get the files not to be suspicious

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

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

Revision history for this message
Nathaniel edwards (loekanle) said :
#4

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

Revision history for this message
Nathaniel edwards (loekanle) said :
#5

what is the terminal command code to update rkhunter -c

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#6

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

Revision history for this message
Nathaniel edwards (loekanle) said :
#7

Thanks actionparsnip, that solved my question.