Policies.. but where there are?
Hi,
i've just read come docs about SELinux, but i don't have unsterstood where these policy (domains, etc.) are saved.. when i compile the policy, where are recordered this information? In the kernel? In a file? In the filesystem?
thanks
bye bye
sracatus
Quoted 4 lines · Mauro Chiarugi
i've just read come docs about SELinux, but i don't have unsterstood where these policy (domains, etc.) are saved.. when i compile the policy, where are recordered this information? In the kernel? In a file? In the filesystem?
They are stored in a "policy database" named /etc/security/selinux/policy.XX (where XX is the version number) in recent versions.
The policy may be loaded into a running SE Linux kernel with the load_policy command, and it will be loaded from that location automatically on boot.
Signature · 10 lines
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Il Fri, 4 Jul 2003 08:52:51 +1000
Russell Coker borbottando disse:
Quoted 3 lines
They are stored in a "policy database" named
/etc/security/selinux/policy.XX(where XX is the version number) in recent versions.
I believe that policy.XX is protected against attacks, such as malicious editing.. is it right???
Signature · 3 lines
Porgere l'altra guancia non significa iptables -t filter -P INPUT ACCEPT iptables -t filter -P OUTPUT DROP
Quoted 9 lines · Mauro Chiarugi
Il Fri, 4 Jul 2003 08:52:51 +1000
Russell Coker borbottando disse:
Quoted 3 lines
They are stored in a "policy database" named
/etc/security/selinux/policy.XX(where XX is the version number) in recent versions.I believe that policy.XX is protected against attacks, such as malicious editing.. is it right???
Yes. There is a special type for it and it is protected against editing.
Signature · 10 lines
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Il Fri, 4 Jul 2003 17:41:36 +1000
Russell Coker borbottando disse:
Quoted 2 lines
Yes. There is a special type for it and it is protected against editing.
And what append if i boot with a normal kernel??
Thanks again :P
bye
Signature · 3 lines
Porgere l'altra guancia non significa iptables -t filter -P INPUT ACCEPT iptables -t filter -P OUTPUT DROP
Quoted 4 lines · Mauro Chiarugi
Quoted 2 lines
Yes. There is a special type for it and it is protected against editing.
And what append if i boot with a normal kernel??
There is no special protection in SELinux against malicious users with full access to the physical machine. Encrypted filesystems and physically secure server rooms are your tools in that area.
Signature · 8 lines
http://web.lemuria.org/pubkey.html pub 1024D/2D7A04F5 2002-05-16 Tom Vogt <[email protected]> Key fingerprint = C731 64D1 4BCF 4C20 48A4 29B2 BF01 9FA1 2D7A 04F5 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
The policy is built using a Makefile which combines the files with the policy statements (and M4 macros) into a single policy.conf. The policy.conf file is compiled by the checkpolicy program into a file better parsed by computers than humans. The compiled output file is loaded into kernel data structures which are then used during access control checks.
That is a very brief very high-level answer. Does it answer your question?
Quoted 11 lines · Mauro Chiarugi
Hi,
i've just read come docs about SELinux, but i don't have unsterstood where these policy (domains, etc.) are saved.. when i compile the policy, where are recordered this information? In the kernel? In a file? In the filesystem?thanks
bye bye
sracatus
Signature · 9 lines
Howard Holm <[email protected]> Secure Systems Research Office National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.