Newbie ACL parent question
Posted: Thu Sep 12, 2002 1:53 pm
I am very new to grsecurity, so sorry if this is a stupid question.
Is there any way to create an ACL that says that a certain subject (let's say /bin/touch) can write to a certain object (let's say /var/tmp/timestamp) only if the subject's parent is a certain other subject (let's say /usr/bin/cleverscript)?
If I understand correctly, something like
/usr/bin/cleverscript {
....
/bin/touch rxi
/var/tmp/timestamp w
....
}
is not the correct solution for me, because in this case /bin/touch may inherit several other ACLs (e.g. /usr/bin/cleverscript might have CAP_SYS_RAWIO , which I might not wish /bin/touch to inherit).
Anyway, I am starting to really enjoy grsecurity, inheritance and the learning mode are great. RBAC would be nice however...
Thanks in advance,
Akos
Is there any way to create an ACL that says that a certain subject (let's say /bin/touch) can write to a certain object (let's say /var/tmp/timestamp) only if the subject's parent is a certain other subject (let's say /usr/bin/cleverscript)?
If I understand correctly, something like
/usr/bin/cleverscript {
....
/bin/touch rxi
/var/tmp/timestamp w
....
}
is not the correct solution for me, because in this case /bin/touch may inherit several other ACLs (e.g. /usr/bin/cleverscript might have CAP_SYS_RAWIO , which I might not wish /bin/touch to inherit).
Anyway, I am starting to really enjoy grsecurity, inheritance and the learning mode are great. RBAC would be nice however...
Thanks in advance,
Akos