grsec newbie with a quick question!

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

grsec newbie with a quick question!

Postby rootkit » Tue Dec 19, 2006 3:08 am

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?
Last edited by rootkit on Tue Dec 19, 2006 9:48 am, edited 1 time in total.
rootkit
 
Posts: 1
Joined: Tue Dec 19, 2006 3:00 am

Postby Thrawn » Tue Dec 19, 2006 8:51 am

Create a group in which you put the user running this script. Enable CONFIG_GRKERNSEC_PROC_USERGROUP in grsecuritys kernel config. Done
Thrawn
 
Posts: 35
Joined: Wed Nov 23, 2005 9:54 am


Return to grsecurity support