2011-11-28 14:43:28 +00:00
.TH "sestatus" "8" "26 Nov 2011" "Security Enhanced Linux" "SELinux command line documentation"
2008-08-19 19:30:36 +00:00
.SH "NAME"
sestatus \- SELinux status tool
.SH "SYNOPSIS"
.B sestatus
.I [\-v] [\-b]
.P
This tool is used to get the status of a system running SELinux.
.SH "DESCRIPTION"
This manual page describes the
.BR sestatus
program.
2011-11-28 14:43:28 +00:00
.sp
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:
.RS
2008-08-19 19:30:36 +00:00
> sestatus
.br
2011-11-28 14:43:28 +00:00
SELinux status: enabled
.br
SELinuxfs mount: /selinux
.br
SELinux root directory: /etc/selinux
.br
Loaded policy name: targeted
.br
Current mode: permissive
.br
Mode from config file: enforcing
2008-08-19 19:30:36 +00:00
.br
2011-11-28 14:43:28 +00:00
Policy MLS status: enabled
2008-08-19 19:30:36 +00:00
.br
2011-11-28 14:43:28 +00:00
Policy deny_unknown status: allow
2008-08-19 19:30:36 +00:00
.br
2011-11-28 14:43:28 +00:00
Max kernel policy version: 26
.RE
.sp
\fB sestatus\fR can also be used to display:
.RS
.IP "-" 4
The security context of files and processes listed in the \fI /etc/sestatus.conf\fR file. The format of this file is described in \fB sestatus.conf\fR (5).
.IP "-" 4
The status of booleans.
.RE
2008-08-19 19:30:36 +00:00
.SH "OPTIONS"
.B \- v
2011-11-28 14:43:28 +00:00
.RS
Displays the contexts of files and processes listed in the \fI /etc/sestatus.conf\fR file. It also checks whether the file is a symbolic link, if so then the context of the target file is also shown.
.sp
The following contexts will always be displayed:
.RS
The current process context
.br
The init process context
.br
The controlling terminal file context
.RE
.RE
.sp
2008-08-19 19:30:36 +00:00
.B \- b
2011-11-28 14:43:28 +00:00
.RS
2008-08-19 19:30:36 +00:00
Display the current state of booleans.
2011-11-28 14:43:28 +00:00
.RE
2008-08-19 19:30:36 +00:00
.SH "FILES"
2011-11-28 14:43:28 +00:00
.I /etc/sestatus.conf
2008-08-19 19:30:36 +00:00
.SH "AUTHOR"
This man page was written by Daniel Walsh <dwalsh@redhat.com>.
.br
The program was written by Chris PeBenito <pebenito@gentoo.org>
2011-11-28 14:43:28 +00:00
.SH "SEE ALSO"
.BR selinux "(8), " sestatus.conf "(5)
2008-08-19 19:30:36 +00:00