How to use sudo in a bash script?

Chris Dunn chris at tropictc.com
Thu Oct 6 14:15:51 UTC 2005


For instance I want to include :

sudo synaptic 

in a script to put on a button in the task bar.

I had thought that this would run and bring up a box to allow me to
enter a password to run the sudo command, but it simply fails to run.

What am I missing?

Chris Dunn




More information about the ubuntu-users mailing list