runuser / su

runuser / su#

Run a command as another user.

$ sudo runuser -u nobody -- ./script.sh
$ su - operator