One more..
Posted: Wed May 14, 2003 11:28 am
Hello again
Objective: configure ACL's to prevent user with shell access to execute files in cgi-bin but allow them to be executed by suexec
User has a role. Inside the role, his home_dir is rw in the default subject.
Then, there is subject /usr/sbin/suexec, like this:
subject /usr/sbin/suexec {
/home/user/cgi-bin rx
/var/log/httpd/suexec_log a
}
All this is in a file that is included by "acl"
Then i reload the ACL's, and i get this:
Duplicate ACL entry found for "/usr/sbin/psa-suexec" on line 1 of /etc/grsec/acl.
"/usr/sbin/psa-suexec" references the same object as the following object(s):
/usr/sbin/suexec
specified on an earlier line.The ACL system will not load until this error is fixed.
suexec is a hardlink of psa-suexec. But i don't define any subject for any of them in the default acl. Also, the ACL's in roles aren't completely independent from the default ACL/role ?
Need some light here. Thanks again in advance.
Objective: configure ACL's to prevent user with shell access to execute files in cgi-bin but allow them to be executed by suexec
User has a role. Inside the role, his home_dir is rw in the default subject.
Then, there is subject /usr/sbin/suexec, like this:
subject /usr/sbin/suexec {
/home/user/cgi-bin rx
/var/log/httpd/suexec_log a
}
All this is in a file that is included by "acl"
Then i reload the ACL's, and i get this:
Duplicate ACL entry found for "/usr/sbin/psa-suexec" on line 1 of /etc/grsec/acl.
"/usr/sbin/psa-suexec" references the same object as the following object(s):
/usr/sbin/suexec
specified on an earlier line.The ACL system will not load until this error is fixed.
suexec is a hardlink of psa-suexec. But i don't define any subject for any of them in the default acl. Also, the ACL's in roles aren't completely independent from the default ACL/role ?
Need some light here. Thanks again in advance.