Updates done by everyone

Mikkel L. Ellertson mikkel at infinity-ltd.com
Sat Dec 9 16:01:43 UTC 2006


Roger Grosswiler wrote:
> i just asked myself, why a normal user shouldn't be able to run pup by
> itself without root permission.
> 
> I think, this could be an issue to configure in the future.
> 
> Meanwhile, i entered a group as sudoers. In the shell, everybody on this
> machine is now able to run pup. 
> 
> I changed pup.desktop in /usr/share/applications 
> 
> to Exec = sudo /usr/bin/pup
> 
> ..it seems, gnome does not like this kind of entry ;) because i couldnt
> then launch it from gnome no longer.
> 
> does anybody know, how i could handle this without a  shellscript in
> between?
> 
> Thanks,
> Roger
> 
As others have said, your basic idea is a security risk. You should
really re-think your idea.

Having said that, the problem you are probably running into is that
sudo is probably trying to ask you for your password. Because it is
not running in a terminal, it has no way to do it. (You can check
this by running "sudo /usr/bin/pup" in a terminal.) You may be able
to get around this by using the NOPASSWD option in sudo.conf or by
running the command in a terminal. (This is an option when in menu
edit.)

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!




More information about the fedora-list mailing list