selinuxconlist(8) - list all SELinux context reachable for user
-
selinuxconlist(1) SELinux Command Line documentation selinuxconlist(1) NAME selinuxconlist - list all SELinux context reachable for user SYNOPSIS selinuxconlist [-l level] user [context] DESCRIPTION selinuxconlist reports the list of context reachable for user from the current context or specified context -l level mcs/mls level AUTHOR This manual page was written by Dan Walsh <[email protected]>. SEE ALSO secon(8), selinuxdefcon(8) [email protected] 7 May 2008 selinuxconlist(1) $ man matchpathcon | col -b matchpathcon(8) SELinux Command Line documentation matchpathcon(8) NAME matchpathcon - get the default SELinux security context for the speci‐ fied path from the file contexts configuration SYNOPSIS matchpathcon [-V] [-N] [-n] [-m type] [-f file_contexts_file] [-p pre‐ fix] [-P policy_root_path] filepath... DESCRIPTION matchpathcon queries the system policy and outputs the default security context associated with the filepath. Note: Identical paths can have different security contexts, depending on the file type (regular file, directory, link file, char file ...). matchpathcon will also take the file type into consideration in deter‐ mining the default security context if the file exists. If the file does not exist, no file type matching will occur. OPTIONS -m type Force file type for the lookup. Valid types are file, dir, pipe, chr_file, blk_file, lnk_file, sock_file. -n Do not display path. -N Do not use translations. -f file_context_file Use alternate file_context file -p prefix Use prefix to speed translations -P policy_root_path Use alternate policy root path -V Verify file context on disk matches defaults AUTHOR This manual page was written by Dan Walsh <[email protected]>. SEE ALSO selinux(8), matchpathcon(3) [email protected] 21 April 2005 matchpathcon(8) $ man selinuxdefcon | col -b selinuxdefcon(1) SELinux Command Line documentation selinuxdefcon(1) NAME selinuxdefcon - report default SELinux context for user SYNOPSIS selinuxdefcon [-l level] user fromcon DESCRIPTION selinuxdefcon reports the default context for the specified user from the specified context -l level mcs/mls level EXAMPLE # selinuxdefcon jsmith system_u:system_r:sshd_t:s0 unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 AUTHOR This manual page was written by Dan Walsh <[email protected]>. SEE ALSO secon(8), selinuxconlist(8) [email protected] 7 May 2008 selinuxdefcon(1)
© Lightnetics 2024