| 1 |
.TH "selinuxexeccon" "8" "14 May 2011" "[email protected]" "SELinux Command Line documentation" |
| 2 |
.SH "NAME" |
| 3 |
selinuxexeccon \- report SELinux context used for this executable |
| 4 |
. |
| 5 |
.SH "SYNOPSIS" |
| 6 |
.B selinuxexeccon |
| 7 |
.I command |
| 8 |
.RI [ fromcon ] |
| 9 |
. |
| 10 |
.SH "DESCRIPTION" |
| 11 |
.B selinuxexeccon |
| 12 |
reports the SELinux process context for the specified command from the specified context or the current context. |
| 13 |
. |
| 14 |
.SH EXAMPLE |
| 15 |
.nf |
| 16 |
# selinuxexeccon /usr/bin/passwd |
| 17 |
staff_u:staff_r:passwd_t:s0-s0:c0.c1023 |
| 18 |
|
| 19 |
# selinuxexeccon /usr/sbin/sendmail system_u:system_r:httpd_t:s0 |
| 20 |
system_u:system_r:system_mail_t:s0 |
| 21 |
.fi |
| 22 |
. |
| 23 |
.SH AUTHOR |
| 24 |
This manual page was written by Dan Walsh <[email protected]>. |
| 25 |
. |
| 26 |
.SH "SEE ALSO" |
| 27 |
.BR secon (8) |