How to use sudo in a bash script?
Vincent Trouilliez
vincent.trouilliez at modulonet.fr
Thu Oct 6 14:24:02 UTC 2005
On Thu, 2005-10-06 at 10:15 -0400, Chris Dunn wrote:
> 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
I think what you need in this case is not sudo, but gksudo.
--
Vince
More information about the ubuntu-users
mailing list