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
  • 169,590
lonerunner
  • 383
  • 1
  • 6
  • 19

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
  • 169,590
  • Thank you your links are exactly what i needed to read on. Now i don't have annoying asking every time i want to start xampp but sudo still requires pass for other things. – lonerunner May 30 '14 at 20:37