| 1 |
.TH "sestatus" "8" "26 Nov 2011" "Security Enhanced Linux" "SELinux command line documentation" |
| 2 |
.SH "NAME" |
| 3 |
sestatus \- SELinux status tool |
| 4 |
|
| 5 |
.SH "SYNOPSIS" |
| 6 |
.B sestatus |
| 7 |
.I [\-v] [\-b] |
| 8 |
.P |
| 9 |
This tool is used to get the status of a system running SELinux. |
| 10 |
|
| 11 |
.SH "DESCRIPTION" |
| 12 |
This manual page describes the |
| 13 |
.BR sestatus |
| 14 |
program. |
| 15 |
.sp |
| 16 |
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: |
| 17 |
.RS |
| 18 |
> sestatus |
| 19 |
.br |
| 20 |
SELinux status: enabled |
| 21 |
.br |
| 22 |
SELinuxfs mount: /selinux |
| 23 |
.br |
| 24 |
SELinux root directory: /etc/selinux |
| 25 |
.br |
| 26 |
Loaded policy name: targeted |
| 27 |
.br |
| 28 |
Current mode: permissive |
| 29 |
.br |
| 30 |
Mode from config file: enforcing |
| 31 |
.br |
| 32 |
Policy MLS status: enabled |
| 33 |
.br |
| 34 |
Policy deny_unknown status: allow |
| 35 |
.br |
| 36 |
Memory protection checking: actual (secure) |
| 37 |
.br |
| 38 |
Max kernel policy version: 26 |
| 39 |
.RE |
| 40 |
.sp |
| 41 |
\fBsestatus\fR can also be used to display: |
| 42 |
.RS |
| 43 |
.IP "-" 4 |
| 44 |
The security context of files and processes listed in the \fI/etc/sestatus.conf\fR file. The format of this file is described in \fBsestatus.conf\fR(5). |
| 45 |
.IP "-" 4 |
| 46 |
The status of booleans. |
| 47 |
.RE |
| 48 |
|
| 49 |
.SH "OPTIONS" |
| 50 |
.B \-v |
| 51 |
.RS |
| 52 |
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. |
| 53 |
.sp |
| 54 |
The following contexts will always be displayed: |
| 55 |
.RS |
| 56 |
The current process context |
| 57 |
.br |
| 58 |
The init process context |
| 59 |
.br |
| 60 |
The controlling terminal file context |
| 61 |
.RE |
| 62 |
.RE |
| 63 |
.sp |
| 64 |
.B \-b |
| 65 |
.RS |
| 66 |
Display the current state of booleans. |
| 67 |
.RE |
| 68 |
|
| 69 |
.SH "FILES" |
| 70 |
.I /etc/sestatus.conf |
| 71 |
|
| 72 |
.SH "AUTHOR" |
| 73 |
This man page was written by Daniel Walsh <[email protected]>. |
| 74 |
.br |
| 75 |
The program was written by Chris PeBenito <[email protected]> |
| 76 |
|
| 77 |
.SH "SEE ALSO" |
| 78 |
.BR selinux "(8), " sestatus.conf "(5) |
| 79 |
|