Re: Regd: SeLinux Configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Balaji wrote:
> *   Can any one help me or guide me to
>   1. Enable the selinux
setenforce 1

Use "getenforce" to determine the current status of selinux.  Look in
/etc/selinux/config for details of policy being used - e.g. targeted.
>   2. Selinux Customize my own policy
man setsebool
man getsebool

These will help you modify options in the supplied policies.  For
example, use "getsebool -a | grep http" to list all selinux options and
filter the list for those pertaining to http.  You can of course create
your own policy and local customisations based on audit logs etc, but
I've not ventured down this path myself.  Others on the list will be
able to assist if you need to go that way.

Hope that gets you started :)

Cheers,

Ian
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux