On Thu, 2008-10-09 at 01:12 -0500, Mike McCarty wrote: > Sportsman wrote: > > First let me start off by saying I'm a complete newbie to the dedicated > > server field, ssh and security. I have paid configserver to install a > > security package and root kit hunter was part of it. I'm afraid I don't > > know what command to use to find my log files or even my config file. > > Have tried var/log/rkhunter.log and received permission denied. Can > > anyone help an ignorant newbie with the right commands and info please. > > Nootkan > > What did you try to do with /var/log/rkhunter.log? It is not an > executable file. You need to have root priviledge to view it. > > [jmccarty]$ ls -l /var/log/rkhunter.log > -rw------- 1 root root 3119 Oct 8 15:18 /var/log/rkhunter.log > > [jmccarty]$ cat /var/log/rkhunter.log > cat: /var/log/rkhunter.log: Permission denied > > [jmccarty]$ su - > Password: > Depending on the system it might be that you need to use the 'sudo' command instead:
sudo cat /var/log/rkhunter.log You will then be prompted for your own password (not the root password). Additionally, depending on the system, you might have the 'locate' command available. So you could use: locate rkhunter.log locate rkhunter.conf to find out where your log file and config file is located. You will need some sort of root access to look at them though. John. -- --------------------------------------------------------------- John Horne, University of Plymouth, UK Tel: +44 (0)1752 587287 E-mail: [EMAIL PROTECTED] Fax: +44 (0)1752 587001 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Rkhunter-users mailing list Rkhunter-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rkhunter-users