AA-EXEC - Online Linux Manual PageSection : 1
Updated : 2021-04-03
Source : AppArmor 2.13.6
Note : AppArmor

NAMEaa−exec − confine a program with the specified AppArmor profile

SYNOPSISaa-exec [options] [−−] [<command> ...]

DESCRIPTIONaa-exec is used to launch a program confined by the specified profile and or namespace. If both a profile and namespace are specified command will be confined by profile in the new policy namespace. If only a namespace is specified, the profile name of the current confinement will be used. If neither a profile or namespace is specified command will be run using standard profile attachment (ie. as if run without the aa-exec command). If the arguments are to be pasted to the <command> being invoked by aa-exec then \*(-- should be used to separate aa-exec arguments from the command.
  aa-exec −p profile1 \*(-- ls \-l

OPTIONS aa-exec accepts the following arguments:−p PROFILE, −−profile=PROFILE confine <command> with PROFILE. If the PROFILE is not specified use the current profile name (likely unconfined). −n NAMESPACE, −−namespace=NAMESPACE use profiles in NAMESPACE. This will result in confinement transitioning to using the new profile namespace. −i, −−immediate transition to PROFILE before doing executing <command>. This subjects the running of <command> to the exec transition rules of the current profile. −v, −−verbose show commands being performed −d, −−debug show commands and error codes −− Signal the end of options and disables further option processing. Any arguments after the \*(-- are treated as arguments of the command. This is useful when passing arguments to the <command> being invoked by aa-exec.

BUGSIf you find any bugs, please report them at <https://bugs.launchpad.net/apparmor/+filebug>.

SEE ALSOaa−stack(8), aa−namespace(8), apparmor(7), apparmor.d(5), aa_change_profile(3), ​aa_change_onexec(3) and <https://wiki.apparmor.net>.
0
Johanes Gumabo
Data Size   :   7,743 byte
man-aa-exec.1Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   4 / 171,947
Visitor ID   :     :  
Visitor IP   :   18.221.147.141   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|aa-exec.1|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|aa-exec.1|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|249|aa-exec.1|43|br══─}─══|'br══─}─══ )         (htmlprn|149|aa-exec.1|43|'br══─}─══ |'br══─}─══ )         (rof_escape_sequence|91|aa-exec.1|156|\*(-- should be used to separate aa-exec arguments from the |by aa-exec then \*(-- should be used to separate aa-exec arguments from the )         (rof_escape_sequence|91|aa-exec.1|158|\*(-- ls \-l | aa-exec \-p profile1 \*(-- ls \-l )         (rof_escape_sequence|91|aa-exec.1|182|\*(-- are treated as arguments of the command. This is |arguments after the \*(-- are treated as arguments of the command. This is )