Page 1 of 1

grsec newbie with a quick question!

PostPosted: Tue Dec 19, 2006 3:08 am
by rootkit
I have grsec running, with out a problem (system side).. :)

[root@gta3 ~]# uname -a
Linux gta3.theothermunky.net 2.6.18.2-grsec #2 SMP Sun Nov 26 08:04:39 PST 2006 i686 i686 i386 GNU/Linux

A basic script in php (phpSysInfo) It doesn't report the network statistics everything else works as it should.

error codes
File Line Command Message
common_functions.php 314 file_exists(/proc/net/dev) the file does not exist on your machine
common_functions.php 177 /bin/df /bin/df: `/proc/bus/usb': Permission denied
common_functions.php 177 /bin/df /bin/df: `/proc/bus/usb': Permission denied


Is there an easy way to allow this?

PostPosted: Tue Dec 19, 2006 8:51 am
by Thrawn
Create a group in which you put the user running this script. Enable CONFIG_GRKERNSEC_PROC_USERGROUP in grsecuritys kernel config. Done