Re: sudo a user without password
On Sun, Jun 27, 2010 at 08:54:53AM +0200, Jozsi Avadkan wrote:
> Hi
>
> On a Desktop machine, running Debian Lenny [GNOME], i just want to put
> a .desktop icon on the desktop, so that i can easy launch apps with
> other users [e.g. not so trusted programs..maybe this way i could get a
> little more secure.. :) ].
>
> #########################################
> $ 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.
>
>
>
> -The question-
> 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
>
> but it don't seems to work [still need password when launching
> "Dude.desktop"]. Is there any way [I have to log out or something?]?
>
Is this just for wine apps? Why not just put the wine files in a
publicly accessible place (/mnt/wine_apps, for instance), adjust the
permissions so that the right people can read/write those files, and let
all users run them from there?
-Rob
Reply to: