[Rpm-maint] Install rpm without being root
Vagner Pinto Morais
Vagner.Morais_externo at sonae.com
Wed Nov 21 15:53:10 UTC 2007
As far as i understand, I just need to be root, because the installation of a rpm package need to manipulate the db files, that usually are under /var/opt . If so, Is there any way to install the db in a directory for users with no-root permissions?
Thanks for your attention
From: Mark Rosenstand [mailto:mark at borkware.net]
Sent: quarta-feira, 21 de Novembro de 2007 15:45
To: Vagner Pinto Morais
Cc: rpm-maint at lists.rpm.org; Nuno Miguel Alexandre
Subject: Re: [Rpm-maint] Install rpm without being root
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