github-actions[bot] on gh-pages
deploy: 4d3e3765bdb1cfda417504c… (compare)
Firstyear on issue989
Firstyear on master
Version argument for kanidm and… (compare)
github-actions[bot] on gh-pages
deploy: f0e96b9ff5336a12630b593… (compare)
yaleman on pykanidm-release
yaleman on master
Published 0.0.3 of kanidm pytho… (compare)
% cat /etc/kanidm/unixd
# this should be at /etc/kanidm/unixd, and configures kanidm-unixd
# some documentation is here: https://github.com/kanidm/kanidm/blob/master/kanidm_book/src/pam_and_nsswitch.md
pam_allowed_login_groups = ["humans"]
# default_shell = "/bin/bash"
home_prefix = "/home/"
home_attr = "uuid"
home_alias = "name"
uid_attr_map = "name"
gid_attr_map = "name"
$ su -l nirya
Password:
su: Authentication service cannot retrieve authentication info
systemctl edit kanidm-unix.service
[Service]
Environment="RUST_LOG=kanidm=debug"
in pam, on lines with pam_kanidm.so, add the option debug
% cat su
#%PAM-1.0
auth sufficient pam_rootok.so
# Uncomment the following line to implicitly trust users in the "wheel" group.
#auth sufficient pam_wheel.so trust use_uid
# Uncomment the following line to require a user to be in the "wheel" group.
#auth required pam_wheel.so use_uid
auth required pam_unix.so
account required pam_unix.so
session required pam_unix.so
password include system-auth
pam.d/su-l
is identical