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 <a...@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