acl
Posted: Thu Oct 31, 2002 8:52 am
Hi, after reading the acl docs for several times already, and trying
to implement some acls setups,i don't understand the behaviour of grsec.
I have this setup:
/ {
/ r
/etc rx
...
}
/etc {
/etc/grsec h
}
but then executing 'gradm -E' i get the error:
Viewing access is allowed to /etc/grsec, the directory which holds ACL and ACL password information.
Why, only if i put "/etc/grsec h" in / subject it works. Is /etc subject ignored?
The same then i change the /etc subject to:
/etc o {
/ h
/etc rx
/etc/grsec h
}
another setup:
/ {
/ r
/etc rx
...
}
/etc {
/etc rwxo
}
then grsec is enabled, i can't write into /etc. again seems like /etc subject is just ignored by grsec. Why?
Please help me out.
Thanks a lot
to implement some acls setups,i don't understand the behaviour of grsec.
I have this setup:
/ {
/ r
/etc rx
...
}
/etc {
/etc/grsec h
}
but then executing 'gradm -E' i get the error:
Viewing access is allowed to /etc/grsec, the directory which holds ACL and ACL password information.
Why, only if i put "/etc/grsec h" in / subject it works. Is /etc subject ignored?
The same then i change the /etc subject to:
/etc o {
/ h
/etc rx
/etc/grsec h
}
another setup:
/ {
/ r
/etc rx
...
}
/etc {
/etc rwxo
}
then grsec is enabled, i can't write into /etc. again seems like /etc subject is just ignored by grsec. Why?
Please help me out.
Thanks a lot