1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.nl/linux/runcon.md
K.B.Dharun Krishna 898f711019
pages/*: update GNU coreutils links, sync translation pages (#15543)
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2025-01-18 18:45:33 +05:30

21 lines
611 B
Markdown

# runcon
> Voer een programma uit in een andere SELinux-beveiligingscontext.
> Bekijk ook: `secon`.
> Meer informatie: <https://www.gnu.org/software/coreutils/manual/html_node/runcon-invocation.html>.
- Toon de beveiligingscontext van de huidige uitvoeringscontext:
`runcon`
- Specificeer het domein om een commando in uit te voeren:
`runcon -t {{domein}}_t {{commando}}`
- Specificeer de context rol om een commando mee uit te voeren:
`runcon -r {{rol}}_r {{commando}}`
- Specificeer de volledige context om een commando mee uit te voeren:
`runcon {{gebruiker}}_u:{{rol}}_r:{{domein}}_t {{commando}}`