You are not logged in.
It seems that the expected behavior of a user account created with a sysusers file containing the "fully locked" configuration (for example see nfs-utils) is be expired.
I am using this in my AUR package for kodi-standalone-service's sysusers.conf which results in an inability to start the service due to the expired account.
Type u may be suffixed with an exclamation mark ("u!") to create a fully locked account. This is recommended, since logins should typically not be allowed for system users. With or without the exclamation mark an invalid password is set. For "u!", the account is also locked, which makes a difference for non-password forms of authentication, such as SSH or similar.
Maybe the term "locked" in the man page means expired?
Last edited by graysky (2025-07-06 14:24:07)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
https://github.com/systemd/systemd/issu … -549372469
Slightly older systemd version on ALARM?
Online
I just edited my original post, seth. I was mistaken. Both behave the same.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Then there's no mystery - the feature was explicitly added to "fully lock" the user, https://man.archlinux.org/man/passwd.1#OPTIONS - see the --lock comments
Why that's recommended for sysusers, idk.
Online
Thanks for the link. I guess for non-interactive accounts only.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline