Re: disable-cap-mlock

Chris Wright
2004-04-02T02:33:20Z

* Andrew Morton (akpm@osdl.org) wrote:
> Andrea Arcangeli <andrea@suse.de> wrote:
> > just curious, how does this work through 'su'? Does su check
> > logincap.conf too?
>
> I guess so.

Or let pam_cap do it so you don't have to modify all the apps just the pam
confs.

> Well you have a local short-term solution...
>
> One thing I was wondering was whether /proc/sys/vm/disable_cap_mlock should
> hold a GID rather than a boolean. So you do
>
> echo groupof oracle > /proc/sys/vm/disable_cap_mlock

Heh, was just thinking the same.

thanks,
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net