I have bash-script that uses sudo commands, but in the middle I need to stop sudo-influence and then later reinstate it.
Very simple version using Pseudo code
sudo apt-get install -y synaptic
I want to create a keybinding Ctrl+Alt+Delete on my Ubuntu PC. It should open htop, but I want maximum priority for it. I use this command.
xterm -fullscreen -fa 'Monospace' -fs 13 -e htop
It works ...
I run ubuntu-12.04 desktop x86_64.
I have a simple script that needs to be accessible from the Desktop and run as root:
$ cat ~/Desktop/flash.sh
Please don't mark this as duplicate as this is a different question!
I am trying to run a script whenever a pendrive is connected to my system.
I followed this and this question And it is working but ...
I want to execute a script that requires root privileges without entering a password. There are similar questions/answers but non seems to work for me.
I placed my script in /home/kf/bin (I added the ...