[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: RPM Build & Release | user
- From: Tony Earnshaw <tericssonearnshaw barlaeus nl>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: RPM Build & Release | user
- Date: Thu, 07 Dec 2006 13:54:12 +0100
Lis Maria wrote:
I am building the rpm as a user called xxx in one m/c .After building
the rpm,i want to install the binary rpm in a different m/c as a non
-root user.If i want to do this,should i have the same user xxx in the
destination m/c also?
Can somebody help me out?
You can build the rpm as anyone, you set the final ownership in the
%files section of your spec. If that owner doesn't exist on the new
install machine, you can add the owner to the new machine by including a
suitable useradd(1) command in a %pre section. Since it's root (with or
without sudo) who has to install the rpm anyway, that's all possible -
and it does work ;)
--Tonni
--
Tonni Earnshaw
tonni @ barlaeus.nl
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]