Cloudkul Support

How to Allow an Unprivileged User to Run a Particular Command?

Open sudoers file via

sudo visudo


sudo nano /etc/sudoers

To grant access over a certain command to a particular user

test_user ALL=(ALL) NOPASSWD: /path_to_command


Is this article is helpful?

People like and 0 people dislike.

If result is not found or irrelevant, Please contact us.

Submit your request