Thanks Seth
On Thu, Sep 22, 2022, 8:21 PM Seth Arnold wrote:
> On Thu, Sep 22, 2022 at 07:16:32PM -0400, Murali Selvaraj wrote:
> > -> How do we approach preparing an Apparmor profile for a shell script as
> > the first time I am doing this.
> > -> As our embedded device like legacy and many
On Thu, Sep 22, 2022 at 07:16:32PM -0400, Murali Selvaraj wrote:
> -> How do we approach preparing an Apparmor profile for a shell script as
> the first time I am doing this.
> -> As our embedded device like legacy and many scripts internally invokes
> few other scripts based on the different
On Thu, Sep 22, 2022 at 02:48:43PM -0400, Murali Selvaraj wrote:
> *foo.sh*
> #!/bin/sh
> if condition
>/bin/sh script_1.sh
> fi
> /bin/sh script_2.sh
> while [ condition ]
> do
>if [ condition ]
> /bin/sh script_3.sh
>else
> /bin/sh script_4.sh
>fi
> done
>
>
Hi All,
Please see below two queries and share your valuable inputs.
*Question 1: *
I am trying to generate an Apparmor profile similar to the below pseudo
script.
*foo.sh*
#!/bin/sh
if condition
/bin/sh script_1.sh
fi
/bin/sh script_2.sh
while [ condition ]
do
if [ condition ]