[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Re: Problems with chkrootkit on a RaQ550



> as root...
>
> [root chkrootkit-0.43]# ./chkrootkit
> bash: ./chkrootkit: Permission denied
>
> Anybody else have this problem before? Any guidance would be
> appreciated.

What are the permissions on the chkrootkit script?  I have:

[bruce@jade linux]$ tar zxf chkrootkit-0.43.tar.gz
[bruce@jade linux]$ cd chkrootkit-0.43
[bruce@jade chkrootkit-0.43]$ make sense
gcc -DHAVE_LASTLOG_H -o chklastlog chklastlog.c
gcc -DHAVE_LASTLOG_H -o chkwtmp chkwtmp.c
gcc -DHAVE_LASTLOG_H  -o ifpromisc ifpromisc.c
gcc  -o chkproc chkproc.c
gcc  -o chkdirs chkdirs.c
gcc  -o check_wtmpx check_wtmpx.c
gcc -static  -o strings-static strings.c
[bruce@jade chkrootkit-0.43]$ ls -alF
total 604
drwxr-xr-x   2 bruce bruce   4096 May 12 16:51 ./
drwxrwxr-x  19 bruce bruce   8192 May 12 16:51 ../
-r--r--r--   1 bruce bruce   3966 Dec 26 10:02 ACKNOWLEDGMENTS
-rwxrwxr-x   1 bruce bruce   2776 May 12 16:51 check_wtmpx*
-r--r--r--   1 bruce bruce   7195 Dec 26 10:26 check_wtmpx.c
-rwxrwxr-x   1 bruce bruce   6116 May 12 16:51 chkdirs*
-r--r--r--   1 bruce bruce   6781 Dec 26 10:27 chkdirs.c
-rwxrwxr-x   1 bruce bruce   6728 May 12 16:51 chklastlog*
-r--r--r--   1 bruce bruce   7729 Dec 26 10:30 chklastlog.c
-rwxrwxr-x   1 bruce bruce   6552 May 12 16:51 chkproc*
-r--r--r--   1 bruce bruce   6676 Dec 26 10:35 chkproc.c
-rwxr-xr-x   1 bruce bruce  67736 Dec 28 08:48 chkrootkit*
-r--r--r--   1 bruce bruce    565 Dec 27 04:35 chkrootkit.lsm
-rwxrwxr-x   1 bruce bruce   4016 May 12 16:51 chkwtmp*
-r--r--r--   1 bruce bruce   1945 Dec 24 09:37 chkwtmp.c
-r--r--r--   1 bruce bruce   1343 Dec 24 09:37 COPYRIGHT
-rwxrwxr-x   1 bruce bruce   6892 May 12 16:51 ifpromisc*
-r--r--r--   1 bruce bruce   8771 Dec 26 16:09 ifpromisc.c
-r--r--r--   1 bruce bruce   1448 Dec 26 13:34 Makefile
-r--r--r--   1 bruce bruce  12387 Dec 27 04:40 README
-r--r--r--   1 bruce bruce   1323 Dec 24 09:37 README.chklastlog
-r--r--r--   1 bruce bruce   1292 Dec 24 09:37 README.chkwtmp
-r--r--r--   1 bruce bruce   2437 Dec 24 09:38 strings.c
-rwxrwxr-x   1 bruce bruce 390176 May 12 16:51 strings-static*
[bruce@jade chkrootkit-0.43]$ su -
Password:
[root@jade root]# cd /home/bruce/software/linux/chkrootkit-0.43
[root@jade chkrootkit-0.43]# ./chkrootkit

<runs fine... output snipped>


P.S. - Remember, the Sun-hosted Cobalt lists will not exist after 
Friday, May 14, 2004. Please visit http://lists.qbalt.com and/or 
http://list.cobaltfacts.com/ to subscribe to an alternate mailing 
list.