[Rpm-maint] Install rpm without being root

Manfred Hollstein mh at novell.com
Wed Nov 21 16:54:46 UTC 2007

Hi Vagner,

can you please send your replies to the list only? Thanks.

On Wed, 21 Nov 2007, 17:38:25 +0100, Vagner Pinto Morais wrote:
> Thanks for the answer... But, if i specify the dbpath to a directory
> that any unprivileged user can acess, do i still need to be a root
> user, to run rpm -i <rpm>?

Assuming the <rpm> contains only files belonging to the area which the
calling user can write to, then there's no need to do that as the super
user root; if, however, you want to install <rpm>'s containing files
going into the system area (like /, /bin, /usr, ...), which is not
writable by an unprivileged user, you have to be root to do that, or, as
Mark already suggested, use "sudo" for that.

> Thanks
> Cheers
> Vagner

HTH, cheers.


More information about the Rpm-maint mailing list