On Sun, Jun 27, 2010 at 2:54 AM, Jozsi Avadkan <jozsi.avad...@gmail.com> wrote:
>
> On a Desktop machine, running Debian Lenny [GNOME], i just want to put
> a .desktop icon on the desktop.
>
> $ cat Dude.desktop
> [Desktop Entry]
> Version=1.0
> Encoding=UTF-8
> Name=Dude
> Type=Application
> Terminal=false
> Icon=gnome-mines
> Exec=gksu -u dude-user wine "/home/dude-user/.wine/drive_c/Program
> Files/Dude/dude.exe"
> GenericName=Dude
>
> But every time [in a new session] i want to launch "Dude" with wine,
> with another user...i have to type in his password.
>
> How can i set the sudoers file, so that it doesnt prompt for a password?
>
> E.g.: I have a user named "someone".
> On the "someone" users Desktop, I have the "Dude.desktop" file.
> The Dude user [who has this program installed] is "dude-user"
>
> I already tried [with visudo]:
>
> someone    dude-user=(ALL) ALL

In sudoers:
someone host=(dude-user) NOPASSWD: command

You can set "host" and/or "command" to ALL.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktim-7xh8hi-a4wwokex3oabzlttak2m7wovmk...@mail.gmail.com

Reply via email to