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


Groups > linux.debian.user > #201542

Re: System user names, uids, and gids

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups linux.debian.user
Subject Re: System user names, uids, and gids
Date 2018-10-23 15:50 +0200
Message-ID <wM5ei-6lp-17@gated-at.bofh.it> (permalink)
References <wM4UW-6eU-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Oct 23, 2018 at 03:09:05PM +0200, Steve Keller wrote:
> Of course the file uids/gids have to be changed too, but that's easy
> (in single user mode, when no daemons are running using these IDs).
> The question is whether Debian expects certain users/groups to have a
> fixed value or if I am allowed to change them.

The mapping from username to UID is variable.  Two different Debian
systems may map the same username differently, depending on which packages
were installed in which order.

But you have been asking about changing a user name, because you don't
like the (length of the) names Debian maintainers have chosen.  This is
not going to work the way you want.  Those user names are hard-coded
in many places, from the *.postinst scripts that (re)create the users,
to the systemd unit files that launch services as those users, etc.

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


Thread

Re: System user names, uids, and gids "Steve Keller" <keller.steve@gmx.de> - 2018-10-23 15:30 +0200
  Re: System user names, uids, and gids Greg Wooledge <wooledg@eeg.ccf.org> - 2018-10-23 15:50 +0200
  Re: System user names, uids, and gids David Wright <deblis@lionunicorn.co.uk> - 2018-10-23 17:20 +0200
  Re: System user names, uids, and gids gustavo panizzo <gfa@zumbi.com.ar> - 2018-10-25 11:50 +0200

csiph-web