diff options
author | Ray Strode <rstrode@redhat.com> | 2023-03-15 10:41:05 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2023-03-15 10:50:38 -0400 |
commit | 78794fafaf1d3228a4b0b70c9eea53dba37c9497 (patch) | |
tree | 420c13940589e17671b4b50f52e19d323df5de6f /src/user.c | |
parent | 453f893e3c38c209ae9dff47bca74ccb33a5bd34 (diff) | |
download | accountsservice-78794fafaf1d3228a4b0b70c9eea53dba37c9497.tar.gz |
daemon: Track local users outside of fgetpwent generator
Right now we assume all local users are in /etc/shadow. This
mostly right, but there may be cases where an admin wants a user
to be treated as local even though they don't have a password
set there.
As a first step toward supporting that end goal, this commit changes
the code to track local users in a hash table allocated outside
of the generator function. This way the table can be used from
more than one generator.
A future commit will change the cache file generator to populate
the local users hash table as well.
Diffstat (limited to 'src/user.c')
0 files changed, 0 insertions, 0 deletions