#681 Allocating a static uid and gid for sssd user
Closed: accepted 7 years ago Opened 7 years ago by fidencio.

Some of the SSSD services may be executed by an unprivileged "sssd" user. In order to do so, these services' unit files would have to receive a "--uid " and "--gid " argument (it would be done while packaging SSSD) and that only would be possible in case the user id and group id are well defined.

The reason for using "--uid " and "--gid " instead of the user's name is to avoid calling getpwnam() during the service startup causing a circular dependency on SSSD.


This is coming in very close to our meeting so I'm not sure if it will have a chance to be considered properly.

Nonetheless, this is the kind of thing that makes sense to me, since sssd will by default be handing all user lookups in the system, including things which previously would use the 'files' backend. So sssd really does have to know what UID it's going to end up with.

Metadata Update from @tibbs:
- Issue tagged with: meeting

7 years ago

We discussed this at this weeks meeting (http://meetbot.fedoraproject.org/fedora-meeting-1/2017-03-09/fpc.2017-03-09-17.00.txt):

  • x#681 Allocating a static uid and gid for sssd user (geppetto,
    17:30:34)
  • ACTION: Allocate a static UID/GID for sssd (+1:8, 0:0, -1:0)
    (geppetto, 17:35:28)

Metadata Update from @james:
- Issue untagged with: meeting

7 years ago

Metadata Update from @james:
- Issue close_status updated to: accepted
- Issue status updated to: Closed (was: Open)

7 years ago

Login to comment on this ticket.

Metadata