2

So i have xampp installed on my desktop and since it can use alot of ram if it stays active for a long time i followed tutorial to put together some kind of python script to start and stop services easy.

So the script goes like this, i made shortcut on desktop and when i click it opens a window when i can start/stop services like apache, mysql, ftp.

So the script starts command is this

gksudo "/opt/lampp/share/xampp-control-panel/xampp-control-panel"

but every time i click shortcut annoying notification pop up ask me for a password.

Is it possible to disable password ask for this?

Radu Rădeanu
  • 174,089
  • 51
  • 332
  • 407
lonerunner
  • 393
  • 1
  • 6
  • 21

1 Answers1

4

gksudo is a frontend to sudo (see man gksudo). So you have to make sudo to not ask for a password. To do this, see:

And also you could be interested by:

Radu Rădeanu
  • 174,089
  • 51
  • 332
  • 407