Page MenuHomePhabricator

system users with UIDs > 500
Open, MediumPublic

Description

when looking at T120585 i saw that we have quite a few more system users that are not actually system user per "UID < 500".

on mira:

pybal-check:x:10003:
releases:x:10004:
keyholder:x:1000:

on tin:

sartoris:x:10003:
trebuchet:x:10004:
pybal-check:x:10005:
releases:x:10007:
keyholder:x:10008:

Should all of these be fixed then and:

  • moved to UIDs under 500
  • marked "system => true" in puppet
  • manually fixed to change all the file ownerships
  • ensured they are the same on both tin and mira
  • update https://wikitech.wikimedia.org/wiki/UID to reflect the situation

?

Related Objects

Event Timeline

Dzahn raised the priority of this task from to Needs Triage.
Dzahn updated the task description. (Show Details)
Dzahn added a project: SRE.
Dzahn added subscribers: Dzahn, faidon, bd808.

https://docs.puppetlabs.com/references/latest/type.html#user-attribute-system

system

Whether the user is a system user, according to the OS’s criteria; on most platforms, a UID less than or equal to 500 indicates a system user. This parameter is only used when the resource is created and will not affect the UID when the user is present. Defaults to false.

Valid values are true, false, yes, no.

Dzahn triaged this task as Medium priority.Dec 16 2015, 1:21 AM

This is old but I think it can be translated to "create all system users with systemd::sysuser in puppet" nowadays.