[CentOS] Wheel and YUM!!

Johnny Hughes johnny at centos.org
Fri Jun 27 11:50:37 UTC 2008

centos at atempleton.net wrote:
> On Thursday 26 June 2008 10:51:18 pm Harry Sukumar wrote:
>> Dear All
>> But even after adding him to wheel, sys and adm group he is unable to
>> install using yum
> Ok, I'm new to CentOS and yum, but it seems to me that installing software 
> would need to have write permission to all the directories that the software 
> installs to. This could include directories in /sbin /bin /usr /lib /etc...  
> If you want to do all using group, it would seem to me you would need to have 
> the directories where software, libraries and configuration files install to 
> all in the same group as yum unless you are using setuid. 
> I would suggest using sudo to allow the user to run the command yum with root 
> ownership using his own password. You then would not have to worry about 
> setuid and groups... 

There is the rpm database too ... the user would need to be able to 
write there as well.

I think that adding software should require root access personally, and 
people who you trust to add software should be able to get root, but 
that is not my decision.

It is possible to do this though ... as pirut does it with it's GUI via 
consolehelper ... and that can be setup to not require a password.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : http://lists.centos.org/pipermail/centos/attachments/20080627/53f9e575/signature.bin

More information about the CentOS mailing list