Sunday, 8 January 2012

SELINUX CONFIGURATION IN RHEL5

SELinux (Secured Enhanced Linux) (NSA - National Security Agency of US)
------------------------------------------------------------------------
ls -ldZ ------
user_u:object_r:tmp_t
(User) (Role) (Type)

User: system_u (created)
user_u (created)
root (created)
Role: object_r (files)
system_r (Processes,user)
Type: Contets (httpd_content_t, samba_share_t,etc.)
------------------------------------------------------------
Config File: /etc/selinux/config

Commands:
sestatus
genenforce
setenforce 0/1
getsebool -a
setsebool
restorecon
chcon -t

No comments:

Post a Comment