Re: Enable updates for a single user

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

 



Vincenzo Campanella wrote:
> Hi everybody
> 
> I have a PC running Fedora 9 that I have to lend to a customer for a
> limited period.
> 
> I would like him to be able to install updates and to install and remove
> programs without giving him the root password.
> 
> Is it possible, and if it is what do I have to do?
> 
> Thanks in advance for your replies.
> vince
> 
Take a look at the /etc/pam.d directory. You can modify the rules
for pup or yumex to let the console user, a specific user, or
members of a group run them without having to enter the root
password. For example, you could set up pup like this:

#%PAM-1.0
auth            sufficient      pam_console.so
auth            include         config-util
account         include         config-util
session         include         config-util

This will let whoever is logged into the console run pup. (Do updates.)

#%PAM-1.0
auth           sufficient      pam_wheel.so trust use_uid
auth            include         config-util
account         include         config-util
session         include         config-util

This will limit pup to members of the wheel group.

It is worth learning how to configure PAM for cases like this.

Mikkel
-- 

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

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[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