How do I run a sudo script?

How do I run a sudo script?
Answer
Run sudo visudo . Add an entry for your username and the script that you would like to run without being asked for a password. Show activity on this post. Also, if you do not mind all your commands being executed as root you can simple execute your script using sudo , as previously suggested.
 

Tìm kiếm

Back
Top