diff options
author | Lennart Poettering <lennart@poettering.net> | 2022-05-13 18:21:01 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2024-02-14 15:01:38 +0100 |
commit | 46c60f7216a73f963b26564df831e925e049fd49 (patch) | |
tree | 4494efbeebb736acff64335d70105141224945f1 /src/shared/user-record-show.c | |
parent | logind: add ability to upgrade session class from 'user-incomplete' to 'user' (diff) | |
download | systemd-46c60f7216a73f963b26564df831e925e049fd49.tar.xz systemd-46c60f7216a73f963b26564df831e925e049fd49.zip |
user-record: add fields for a fallback home dir + shell
This adds fields to the user record logic to allow a "fallback" home
directory and shell to be set as part of the "status" section of the
user record, i.e. supplied by the manager of the user record.
The idea is that if the fallback homedir/shell is set it will take
precedence over the real one in most ways.
Usecase: let's try to make ssh logins into homed directories work.
systemd-homed would set a fallback shell/homedir for inactive home dirs.
Thus, when ssh logins take place via key auth, we can allow them, and
these fallback session params would be used because the real home cannot
be activated just yet becasue we cannot acquire any password for it from
the user.
Diffstat (limited to 'src/shared/user-record-show.c')
0 files changed, 0 insertions, 0 deletions