[Rpm-maint] Install rpm without being root

Mark Rosenstand mark at borkware.net
Wed Nov 21 15:45:19 UTC 2007

On Wed, 2007-11-21 at 15:23 +0000, Vagner Pinto Morais wrote:
> Hi guys,
> Is there any way to have the rpm utilitie installed that allows to
> install rpm packages without being root.  I mean, when I run "rpm -i
> <rpm>", I want install rpm without being root. 

If you don't have any concerns about security, e.g. if the machine is
not connected to a network and doesn't have anything remotely valuable
on it, you could set the setuid bit on it (chmod u+s /bin/rpm).

Any sane sysadmin would recommend you to use an utility such as sudo
instead, though.

More information about the Rpm-maint mailing list