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!

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux