mirror of
https://github.com/SELinuxProject/selinux
synced 2025-03-01 16:00:31 +00:00
This utility will tell what context a new task will have after exec based on the pathname and the context of the launching task. Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com>
25 lines
671 B
Groff
25 lines
671 B
Groff
.TH "selinuxexeccon" "1" "14 May 2011" "dwalsh@redhat.com" "SELinux Command Line documentation"
|
|
.SH "NAME"
|
|
selinuxexeccon \- report SELinux context used for this executable
|
|
|
|
.SH "SYNOPSIS"
|
|
.B selinuxexeccon command [ fromcon] o
|
|
|
|
.SH "DESCRIPTION"
|
|
.B selinuxexeccon
|
|
reports the SELinux process context for the specified command from the specified context or the current context.
|
|
|
|
.SH EXAMPLE
|
|
# selinuxexeccon /usr/bin/passwd
|
|
staff_u:staff_r:passwd_t:s0-s0:c0.c1023
|
|
|
|
.br
|
|
# selinuxexeccon /usr/sbin/sendmail system_u:system_r:httpd_t:s0
|
|
system_u:system_r:system_mail_t:s0
|
|
|
|
.SH AUTHOR
|
|
This manual page was written by Dan Walsh <dwalsh@redhat.com>.
|
|
|
|
.SH "SEE ALSO"
|
|
secon(8)
|