Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

is_selinux_enabled(3) [centos man page]

is_selinux_enabled(3)					     SELinux API documentation					     is_selinux_enabled(3)

NAME
is_selinux_enabled - check whether SELinux is enabled NAME
is_selinux_mls_enabled - check whether SELinux is enabled for (Multi Level Securty) MLS SYNOPSIS
#include <selinux/selinux.h> int is_selinux_enabled(); int is_selinux_mls_enabled(); DESCRIPTION
is_selinux_enabled() returns 1 if SELinux is running or 0 if it is not. On error, -1 is returned. is_selinux_mls_enabled() returns 1 if SELinux is running in MLS mode or 0 if it is not. SEE ALSO
selinux(8) russell@coker.com.au 7 Mar 2010 is_selinux_enabled(3)

Check Out this Related Man Page

sestatus(8)						SELinux command line documentation					       sestatus(8)

NAME
sestatus - SELinux status tool SYNOPSIS
sestatus [-v] [-b] This tool is used to get the status of a system running SELinux. DESCRIPTION
This manual page describes the sestatus program. This tool is used to get the status of a system running SELinux. It displays data about whether SELinux is enabled or disabled, location of key directories, and the loaded policy with its status as shown in the example: > sestatus SELinux status: enabled SELinuxfs mount: /selinux SELinux root directory: /etc/selinux Loaded policy name: targeted Current mode: permissive Mode from config file: enforcing Policy MLS status: enabled Policy deny_unknown status: allow Max kernel policy version: 26 sestatus can also be used to display: - The security context of files and processes listed in the /etc/sestatus.conf file. The format of this file is described in ses- tatus.conf(5). - The status of booleans. OPTIONS
-v Displays the contexts of files and processes listed in the /etc/sestatus.conf file. It also checks whether the file is a symbolic link, if so then the context of the target file is also shown. The following contexts will always be displayed: The current process context The init process context The controlling terminal file context -b Display the current state of booleans. FILES
/etc/sestatus.conf AUTHOR
This man page was written by Daniel Walsh <dwalsh@redhat.com>. The program was written by Chris PeBenito <pebenito@gentoo.org> SEE ALSO
selinux(8), sestatus.conf(5) Security Enhanced Linux 26 Nov 2011 sestatus(8)
Man Page

5 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

SElinux

I am on a fedora core 2.6.9-1.677 i686 which is selinux enabled unlike the version I was on before .. which had to be manually enabled ..and if you knew nothing of the sort you were lost.. that was the case for me anyway! like i was saying ... now I am on a system that is enabled I have just... (1 Reply)
Discussion started by: moxxx68
1 Replies

2. Linux

Cant su to root

Hello, I can ssh as root directly, but when login as normal user, I cant su to root: user@server:~% su Password: and in the /var/log/messages: session opened for user root by user(uid=501) session closed for user root Im sure the root password is correct, any pointer? (14 Replies)
Discussion started by: bsddaemon
14 Replies

3. Red Hat

Authentication Failed

Hi everyone ... ( Linux Cent OS ) i cant login as root user in my lab machine ... i did give correct root and root passwd ..but it showing Authentication Failed ... plz help me (4 Replies)
Discussion started by: coolboys
4 Replies

4. Red Hat

-bash: sendmail: command not found

Hello Experts, I have been trying to send a test mail in our linux server with sendmail command.But I am getting command not found error message. -->when I tried whether sendmail installed or not with the command rpm -qa sendmail* I got the below, sendmail-cf-8.14.4-8.el6.noarch... (26 Replies)
Discussion started by: Devipriya Ch
26 Replies

5. UNIX for Advanced & Expert Users

Syslog-ng not working not collecting logs on rhel

Hi, I need help on syslog-ng on RHEL 7.2. It is working as expected. As per configuration, it is supposed to create authlog, messages and xymessages daily in respective folder of date. But I can see only messages file and that is also not updating well. # ps -ef | grep -i syslog root 22954... (1 Reply)
Discussion started by: solaris_1977
1 Replies