permission denied when doing "gradm -D"
Posted: Sat Mar 01, 2003 12:27 pm
I'm new to grsec and gradm, so I don't really know how to solve this.. I looked around the forum posts but didn't find anything similar so here it goes:
When I ran 'gradm -E' it executed without problems, but I can't save files or anything, guess I didn't have enough knowledge.. I thought the default ACL file had thre right permissions, but I guess not. Now when I do 'gradm -D' (as root) it asks for my password, and after I type that in and press Enter it says:
grsec: denied open of /proc/sys/kernel/grsecurity/acl for writing by (gradm:8147) UID(0) EUID(0), parent (bash:17588) UID(0) EUID(0)
Could not open /proc/sys/kernel/grsecurity/acl
open: permission denied
I don't know what to do.. is it gradm? Or is it the grsecurity options I compiled in into my kernel?
I'm using Debian 3.0rc1, kernel 2.4.20 and grsec 1.9.9c and gradm 1.7b. I guess I could reboot and see if it works, but I don't know if grsec/gradm is in a startupscript somewhere, so I don't really want to.. perhaps it locks my comp and I'm unable to log in at all.
//filigran - http://filigran.no-ip.org - filigran-@spray.se
When I ran 'gradm -E' it executed without problems, but I can't save files or anything, guess I didn't have enough knowledge.. I thought the default ACL file had thre right permissions, but I guess not. Now when I do 'gradm -D' (as root) it asks for my password, and after I type that in and press Enter it says:
grsec: denied open of /proc/sys/kernel/grsecurity/acl for writing by (gradm:8147) UID(0) EUID(0), parent (bash:17588) UID(0) EUID(0)
Could not open /proc/sys/kernel/grsecurity/acl
open: permission denied
I don't know what to do.. is it gradm? Or is it the grsecurity options I compiled in into my kernel?
I'm using Debian 3.0rc1, kernel 2.4.20 and grsec 1.9.9c and gradm 1.7b. I guess I could reboot and see if it works, but I don't know if grsec/gradm is in a startupscript somewhere, so I don't really want to.. perhaps it locks my comp and I'm unable to log in at all.
//filigran - http://filigran.no-ip.org - filigran-@spray.se