Help: Which file invokes policy configuration in RHEl4?
Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Help: Which file invokes policy configuration in RHEl4?
Hi,
I am working RHEL4 and want to know which file invokes the /etc/selinux/targeted/policy/policy.<ver> i.e a policy configuration file?
I have to make change to the interface file.
Thanks
Yes it's correct that we can't have Mandatory access control(MAC) over all the resources in the targeted mode but still we can have MAC over some Deamons like httpd, dhcpd.
For more information
The Policy has been configured and I can view it or can change it any time. The thing I want to know which file or script invokes or starts the policy configuration file.
Exactly the Kernel does and pass it on to init. I am finding out which file in kernel loads/invokes policy before passing it on to init.I have make changes to that file. If anyone finds it plz let me know. Thanks.
Thanks for the information. I have got some additional information regarding the loading of policy.
In the first step kernel checks for the version of policy in the file /selinux/policyvers.
Next part is done by init, init determines which policy is active in the /etc/selinux/config and then
loads the associated policy file at /etc/selinux/targeted/policy/policy.<ver>
The main reason to find the file which loads/invokes policy is to customize that particular file to load any customize policy files.
I think that you are trying to do something that can't be done.What you want to customize is just a line in a kernel or init,and the only thing that you can customize there is; will kernel load the policy or not.What you want to customize is nothing else then your policy.
I think that you are trying to do something that can't be done.What you want to customize is just a line in a kernel or init,and the only thing that you can customize there is; will kernel load the policy or not.What you want to customize is nothing else then your policy.
Can you provide URI for this that kernel or init only have option that they can load policy or not?
What I want to do is to customise the file which loads policy or init script such that we have a choice such that which policy file to load? It's some generic kind of thing. If you can suggest any other way the same can be achived then it will very much appreciated. Thanks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.