Re: Wheel and YUM!!

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



centos@xxxxxxxxxxxxxx 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.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux