-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is possible an menu launcher to run an bash script ? #166
Comments
Is there somewhere I can enter the password for sudo? |
I want create an shortcut launch being possible run "bash" with script. |
I've given the tips, have you tried them? 1.SUID Does not involve sudo command |
Make the first line of your script This is not a menu issue, if this corrects your issue pleas mark it as closed. |
SolutionI adapter the example in #!/bin/bash becomes: #!/usr/bin/pkexec /usr/bin/bash
#!/usr/bin/pkexec --keep-cwf /usr/bin/bash |
Hello.
Thanks for reading my topic.
Is possible use MenuLibre to create an menu launcher to run an bash script ?
bash script file have the command to flush writeback cache before OS log out or power off.
/usr/sbin/dmsetup message /dev/mapper/rc-wb_sda4 0 flush
the command need to run being sudo.
I had created an launcher pointing to the bash file and selecting to run in terminal , but not work.
Thanks for any reply.
Have an nice week.
The text was updated successfully, but these errors were encountered: