1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 17:42:07 +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

611 B

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}}