How to use sudo in a bash script?
max
max_linux2000 at yahoo.es
Thu Oct 6 14:26:04 UTC 2005
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 Dun
>
>
do you use Gnome? If yes you need to write:
gnome-sudo synaptic
but for that you can use the "add custom launcher" directly in the
gnome-bar and put the command
"gnome-sudo synaptic"
best,
MaX
best,
MaX
______________________________________________
Renovamos el Correo Yahoo!
Nuevos servicios, más seguridad
http://correo.yahoo.es
More information about the ubuntu-users
mailing list