Lennart Poettering
Lennart Poettering
well, very simply, i don't really see a way to implement that. there's no hook that would allow us to insert code right after the various programs that permit logins...
so i guess we hve to initialize errno to zero first, then fire timegm(), and if it's -1 and errno != 0 we have an error.
i'd really prefer a more generic fix. i.e. introduce to time-util.h a new helper timegm_safe() or so, and then patch all our uses of timegm() to use that instead. helper...
I had a look at this, and now prepped #34155, which attemps to solve this more comprehensively, and changes the internal APIs to use `usec_t` (instead of `time_t`) exclusively. I...
please provide relevant logs, otherwise not actionable.
sshd doesn't implement the PAM conversation hooks for its PAM session hooks, hence we cannot ask for passwords in pam_systemd. But we need to ask for passwords if the home...
the login should always be "smooth". You just should enter two different codepaths: either we can already unlock everything via PAM (i.e. in the non-ssh case), and your login shell...
how does your user record look like when you are entirely logged out? and how does it look like when you are logged in via ssh and zsh was started...
the logs you provided show nothing wrong, is there something missing? how does your login via ssh look like precisely? do you get prompted for the homedir pw?
> Seems no critical differences. useFallback suggests that everything looks right. when inactive useFallback is true. When active it is false. Which is what should happen.