-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runcon: move help strings to markdown file (#4774)
- Loading branch information
Showing
2 changed files
with
22 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# runcon | ||
|
||
``` | ||
runcon [CONTEXT COMMAND [ARG...]] | ||
runcon [-c] [-u USER] [-r ROLE] [-t TYPE] [-l RANGE] COMMAND [ARG...]"; | ||
``` | ||
|
||
Run command with specified security context under SELinux enabled systems. | ||
|
||
## After Help | ||
|
||
Run COMMAND with completely-specified CONTEXT, or with current or transitioned security context modified by one or more of LEVEL, ROLE, TYPE, and USER. | ||
|
||
If none of --compute, --type, --user, --role or --range is specified, then the first argument is used as the complete context. | ||
|
||
Note that only carefully-chosen contexts are likely to successfully run. | ||
|
||
With neither CONTEXT nor COMMAND are specified, then this prints the current security context. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters