If there is only one user running the script, can ps -A | grep "script_name" work?
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, May 1, 2019 9:29 PM, Adam Steen <adam@adamsteen.com.au> wrote:
> Hi
>
> In a shell script invoked by doas, is it possible to find which user invoke the script? my search a the moment has come up empty.
>
> Cheers
> Adam
No comments:
Post a Comment