Re: Updates done by everyone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux