Blame man/man8/selinuxexeccon.8

Packit Service 10cefc
.TH "selinuxexeccon" "8" "14 May 2011" "dwalsh@redhat.com" "SELinux Command Line documentation"
Packit Service 10cefc
.SH "NAME"
Packit Service 10cefc
selinuxexeccon \- report SELinux context used for this executable
Packit Service 10cefc
.
Packit Service 10cefc
.SH "SYNOPSIS"
Packit Service 10cefc
.B selinuxexeccon
Packit Service 10cefc
.I command
Packit Service 10cefc
.RI [ fromcon ]
Packit Service 10cefc
.
Packit Service 10cefc
.SH "DESCRIPTION"
Packit Service 10cefc
.B selinuxexeccon
Packit Service 10cefc
reports the SELinux process context for the specified command from the specified context or the current context.
Packit Service 10cefc
.
Packit Service 10cefc
.SH EXAMPLE
Packit Service 10cefc
.nf
Packit Service 10cefc
# selinuxexeccon /usr/bin/passwd 
Packit Service 10cefc
staff_u:staff_r:passwd_t:s0-s0:c0.c1023
Packit Service 10cefc
Packit Service 10cefc
# selinuxexeccon /usr/sbin/sendmail system_u:system_r:httpd_t:s0
Packit Service 10cefc
system_u:system_r:system_mail_t:s0
Packit Service 10cefc
.fi
Packit Service 10cefc
.
Packit Service 10cefc
.SH AUTHOR
Packit Service 10cefc
This manual page was written by Dan Walsh <dwalsh@redhat.com>.
Packit Service 10cefc
.
Packit Service 10cefc
.SH "SEE ALSO"
Packit Service 10cefc
.BR secon (8)