[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Chaging uid/gid at binary install
On 20 February 2011 15:08, Masao Uebayashi <uebayasi%tombi.co.jp@localhost>
> On Sun, Feb 20, 2011 at 05:08:14PM +0900, OBATA Akio wrote:
>> On Sun, 20 Feb 2011 13:14:17 +0900, Masao Uebayashi
>> <uebayasi%tombi.co.jp@localhost> wrote:
>> >OpenBSD Ports has this:
>> About UID, it is possible to fix for OpenBSD ports, but not for pkgsrc,
>> because followings are system environment depend values.
>> 1. free UID range
>> 2. builtin users list
> Do you mean, "builtin users list" == UIDs which OSes provide by
> Can we provide a pre-defined pkgsrc username/UID "range"?
> For example, if I set PKG_UID_RANGE=500-999 and install foo-1.2.3
> which needs user "_foo" which has pkgsrc UID index 50, pkg_add(8)
> will useradd(8) user "_foo" as 550 and chown files.
> Does this sound reasonable?
Absolutely, and PKG_UID_RANGE can have a sane default by OS
Main Index |
Thread Index |