How to run a bash script by double clicking by entering the path in sudoers?
0
votes
1
answer
233
views
Using
visudo
I add the line ALL=(ALL) NOPASSWD: /home/user/script.sh
in
but the **script.sh** does not run on double click.
If I add the line ALL=(ALL) NOPASSWD:ALL
in
then the **script.sh** runs and works when double clicked. How can do it?
Thanks.
Asked by moninah
(15 rep)
Nov 24, 2023, 12:01 PM
Last activity: Nov 29, 2023, 12:56 PM
Last activity: Nov 29, 2023, 12:56 PM