Reputation: 205
Let's say I am the user xxx. I have been given permission to "sa_hdpdm_qa".
So, How to invoke a command to do "sudo as sa_hdpdm_qa".
I am not sure about the commands. I searched online, but no luck..
Thanks,
Upvotes: 0
Views: 95
Reputation: 7221
sudo -u sa_hdpm_qa {command you want to execute}`
See also the man page for sudo: the -u
parameter is hard to overlook....
Upvotes: 1