Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #179403

Re: UID mismatch across systems

From Ross Boylan <rossboylan@stanfordalumni.org>
Newsgroups linux.debian.user
Subject Re: UID mismatch across systems
Date 2017-03-26 22:10 +0200
Message-ID <tpmEa-4Zk-13@gated-at.bofh.it> (permalink)
References <tp1gm-6A9-5@gated-at.bofh.it> <tpcbL-5Q6-1@gated-at.bofh.it> <tpkM2-3F0-5@gated-at.bofh.it> <tpl5p-3M6-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Mar 26, 2017 at 11:21 AM, deloptes <deloptes@gmail.com> wrote:
> Ross Boylan wrote:
>
>> The problem is that none of those will work if the existing uids/gids
>> on the systems are not already consistent, and they aren't.
>
> And the goal of your statement was what exactly?

To solicit advice about how to deal with the mismatch, including the
options I mentioned originally:
1) manually change the uids/gids  so  they match--and how to do that
safely, esp on a live system
2) live with the the mismatches, at least for system accounts.

I was also wondering how systems could be set up to have matching ids,
given that the initial install doesn't use a shared identity database.
For example, my newer systems have uid 101 = input, while pre-jessie
ones have 101 = libuuid.  The new ones have systemd-* users at
102-105, while the older ones have other users there.
>
> There is no magic wand for that - debian has default numbering for system
> accounts, so only user and custom accounts need to be moved to some user
> management system like mysql or ldap. Of course OP will need to chown on
> each machine to make it work.

I am the OP!  Thanks  for your responses.
Ross

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

UID mismatch across systems "Boylan, Ross" <Ross.Boylan@ucsf.edu> - 2017-03-25 22:20 +0100
  Re: UID mismatch across systems deloptes <deloptes@gmail.com> - 2017-03-26 11:00 +0200
    Re: UID mismatch across systems Ross Boylan <rossboylan@stanfordalumni.org> - 2017-03-26 20:10 +0200
      Re: UID mismatch across systems deloptes <deloptes@gmail.com> - 2017-03-26 20:30 +0200
        Re: UID mismatch across systems Ross Boylan <rossboylan@stanfordalumni.org> - 2017-03-26 22:10 +0200
          Re: UID mismatch across systems deloptes <deloptes@gmail.com> - 2017-03-26 23:30 +0200
  Re: UID mismatch across systems Joshua Schaeffer <jschaeffer0922@gmail.com> - 2017-03-26 23:50 +0200
    Re: UID mismatch across systems Ross Boylan <rossboylan@stanfordalumni.org> - 2017-03-27 02:30 +0200
      Re: UID mismatch across systems Joshua Schaeffer <jschaeffer0922@gmail.com> - 2017-03-27 05:00 +0200
        Re: UID mismatch across systems Ross Boylan <rossboylan@stanfordalumni.org> - 2017-03-29 00:30 +0200

csiph-web