selinuxexeccon - Man Page
report SELinux context used for this executable
Synopsis
selinuxexeccon command [fromcon]
Description
selinuxexeccon reports the SELinux process context for the specified command from the specified context or the current context.
Example
# 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
Author
This manual page was written by Dan Walsh <dwalsh@redhat.com>.
See Also
secon(8)
Info
14 May 2011 dwalsh@redhat.com SELinux Command Line documentation