| 1 |
.TH "sestatus.conf" "5" "26-Nov-2011" "Security Enhanced Linux" "sestatus configuration file" |
| 2 |
|
| 3 |
.SH "NAME" |
| 4 |
sestatus.conf \- The \fBsestatus\fR(8) configuration file. |
| 5 |
|
| 6 |
.SH "DESCRIPTION" |
| 7 |
The \fIsestatus.conf\fR file is used by the \fBsestatus\fR(8) command with the \fB\-v\fR option to determine what file and process security contexts should be displayed. |
| 8 |
.sp |
| 9 |
The fully qualified path name of the configuration file is: |
| 10 |
.RS |
| 11 |
\fI/etc/sestatus.conf\fR |
| 12 |
.RE |
| 13 |
.RE |
| 14 |
.sp |
| 15 |
The file consists of two optional sections as described in the \fBFILE FORMAT\fR section. Whether these exist or not, the following will always be displayed: |
| 16 |
.RS |
| 17 |
The current process context |
| 18 |
.br |
| 19 |
The init process context |
| 20 |
.br |
| 21 |
The controlling terminal file context |
| 22 |
.RE |
| 23 |
|
| 24 |
.SH "FILE FORMAT" |
| 25 |
The format consists of two optional sections as follows: |
| 26 |
.RS |
| 27 |
.B [files] |
| 28 |
.br |
| 29 |
.I file_name |
| 30 |
.br |
| 31 |
.I [file_name] |
| 32 |
.br |
| 33 |
.I ... |
| 34 |
.sp |
| 35 |
.B [process] |
| 36 |
.br |
| 37 |
.I executable_file_name |
| 38 |
.br |
| 39 |
.I [executable_file_name] |
| 40 |
.br |
| 41 |
.I ... |
| 42 |
.RE |
| 43 |
.sp |
| 44 |
Where: |
| 45 |
.RS |
| 46 |
.B [files] |
| 47 |
.RS |
| 48 |
The start of the file list block. |
| 49 |
.RE |
| 50 |
.I file_name |
| 51 |
.RS |
| 52 |
One or more fully qualified file names, each on a new line will that will have its context displayed. If the file does not exist, then it is ignored. If the file is a symbolic link, then \fBsestatus \-v\fR will also display the target file context. |
| 53 |
.RE |
| 54 |
.sp |
| 55 |
.B [process] |
| 56 |
.RS |
| 57 |
The start of the process list block. |
| 58 |
.RE |
| 59 |
.I executable_file_name |
| 60 |
.RS |
| 61 |
One or more fully qualified executable file names that should it be an active process, have its context displayed. Each entry is on a new line. |
| 62 |
.RE |
| 63 |
.RE |
| 64 |
|
| 65 |
.SH "EXAMPLE" |
| 66 |
# /etc/sestatus.conf |
| 67 |
.br |
| 68 |
[files] |
| 69 |
.br |
| 70 |
/etc/passwd |
| 71 |
.br |
| 72 |
/etc/shadow |
| 73 |
.br |
| 74 |
/bin/bash |
| 75 |
.br |
| 76 |
/bin/login |
| 77 |
.br |
| 78 |
/lib/libc.so.6 |
| 79 |
.br |
| 80 |
/lib/ld-linux.so.2 |
| 81 |
.br |
| 82 |
/lib/ld.so.1 |
| 83 |
.sp |
| 84 |
[process] |
| 85 |
.br |
| 86 |
/sbin/mingetty |
| 87 |
.br |
| 88 |
/sbin/agetty |
| 89 |
.br |
| 90 |
/usr/sbin/sshd |
| 91 |
.RE |
| 92 |
|
| 93 |
.SH "SEE ALSO" |
| 94 |
.BR selinux "(8), " sestatus "(8) " |