Page 1 of 1

superuser ?

PostPosted: Mon Apr 28, 2003 3:13 am
by cwr
to save getting all these permission denied errors etc.. is there a 'superuser' group or something similar you can add users to?

also, when loading up Xwindows and not having grsec enabled (gradm -D) i get a:

Fatal server error:
xf86EnableOPorts: Failed to set IOPL for I/O

is this a common problem?

Re: superuser ?

PostPosted: Mon Apr 28, 2003 3:44 am
by hightower
cwr wrote:to save getting all these permission denied errors etc.. is there a 'superuser' group or something similar you can add users to?

please what?

cwr wrote:also, when loading up Xwindows and not having grsec enabled (gradm -D) i get a:

Fatal server error:
xf86EnableOPorts: Failed to set IOPL for I/O

is this a common problem?

grep CONFIG_GRKERNSEC_IO .config

if it's yes (y), then read the Configure help of that entry, named "Disable privileged I/O".

ciao, Marc

PostPosted: Mon Apr 28, 2003 4:16 am
by cwr
ok, thanks.

what can you put in the /etc/grsec/acl to protect the kernel rather than enabling that option?

PostPosted: Mon Apr 28, 2003 4:31 am
by hightower
cwr wrote:ok, thanks.

what can you put in the /etc/grsec/acl to protect the kernel rather than enabling that option?


You can remove the capability "CAP_SYS_RAWIO".

http://www.grsecurity.net/gracldoc.htm

ciao, Marc

PostPosted: Mon Apr 28, 2003 7:15 am
by spender
That error can also be caused by PaX, I believe. Check your logs and look for something starting with grsec: PAX:, then download chpax from http://pageexec.virtualave.net, and chpax -sp /usr/X11R6/bin/XFree86.

-Brad