Re: migrating my lenny install from 32-bit to 64-bit?
On Wed, 16 Sep 2009, Sven Joachim wrote:
> On 2009-09-16 15:57 +0200, Sjoerd Hardeman wrote:
>
> > Kept thinking a bit longer: are the uids and gids of daemon users
> > actually determined during install? My experience is that these
> > users actually preserve their uid over installations quite well.
>
> This is only true for users with a UID < 100, as these are defined
> and maintained by the base-passwd package. System users with a
> higher UID get their UID and GID allocated at package installation
> time and use the first ones that are available. So these vary
> greatly between systems.
where are these boundaries defined? i'm familiar with such values
being defined in places like /etc/default/{login,useradd, ???). from
looking at /etc/passwd and from what you're written above,
* UIDs of < 100 and 65534 (nobody) are fixed and immutable
* UIDs of [100-999] represent packages/daemons that are given
out as necessary as packages are installed so they don't have
to match and i should leave them as is
* UIDs of 1000 and up are for manually-created accounts, and i
*should* reproduce them exactly from the old system to the
new system
seems pretty straightforward, much like i've seen on other linux
systems.
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Annoying Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================
Reply to: