include </path/to/directory> issue
Posted: Tue Jan 11, 2005 9:52 pm
When there's an include entry to a directory in the policy, the following access controls are not loaded. For example :
If /etc/grsec/restricted is a directory, gradm complains about :
When it's a file, everything's ok.
PS: I'm using latest grsec and gradm (v2.1.0) + kernel 2.4.28 + secfixes
- Code: Select all
....
domain restricted g users guests
include </etc/grsec/restricted>
include </etc/grsec/common>
role default G
role_transitions admin
include </etc/grsec/default>
include </etc/grsec/common>
If /etc/grsec/restricted is a directory, gradm complains about :
gradm2 wrote:There is no default role present in your configuration.
Please read the RBAC documentation and create a default role before attempting to enable the RBAC system.
When it's a file, everything's ok.
PS: I'm using latest grsec and gradm (v2.1.0) + kernel 2.4.28 + secfixes