2013-05-10 12:45:17 +00:00
|
|
|
.TH "selinuxexeccon" "8" "14 May 2011" "dwalsh@redhat.com" "SELinux Command Line documentation"
|
2011-06-28 23:40:26 +00:00
|
|
|
.SH "NAME"
|
|
|
|
selinuxexeccon \- report SELinux context used for this executable
|
2012-11-13 20:15:34 +00:00
|
|
|
.
|
2011-06-28 23:40:26 +00:00
|
|
|
.SH "SYNOPSIS"
|
2012-11-13 20:15:34 +00:00
|
|
|
.B selinuxexeccon
|
|
|
|
.I command
|
|
|
|
.RI [ fromcon ]
|
|
|
|
.
|
2011-06-28 23:40:26 +00:00
|
|
|
.SH "DESCRIPTION"
|
|
|
|
.B selinuxexeccon
|
|
|
|
reports the SELinux process context for the specified command from the specified context or the current context.
|
2012-11-13 20:15:34 +00:00
|
|
|
.
|
2011-06-28 23:40:26 +00:00
|
|
|
.SH EXAMPLE
|
2012-11-13 20:15:34 +00:00
|
|
|
.nf
|
2011-06-28 23:40:26 +00:00
|
|
|
# selinuxexeccon /usr/bin/passwd
|
|
|
|
staff_u:staff_r:passwd_t:s0-s0:c0.c1023
|
|
|
|
|
|
|
|
# selinuxexeccon /usr/sbin/sendmail system_u:system_r:httpd_t:s0
|
|
|
|
system_u:system_r:system_mail_t:s0
|
2012-11-13 20:15:34 +00:00
|
|
|
.fi
|
|
|
|
.
|
2015-11-07 09:20:56 +00:00
|
|
|
.SH AUTHOR
|
2011-06-28 23:40:26 +00:00
|
|
|
This manual page was written by Dan Walsh <dwalsh@redhat.com>.
|
2012-11-13 20:15:34 +00:00
|
|
|
.
|
2011-06-28 23:40:26 +00:00
|
|
|
.SH "SEE ALSO"
|
2012-11-13 20:15:34 +00:00
|
|
|
.BR secon (8)
|