dependabot[bot] on pip
Bump mkdocs-material from 8.3.9… (compare)
dependabot[bot] on pip
Bump pydantic from 1.9.1 to 1.9… (compare)
yaleman on issue989
clap tweaks (compare)
yaleman on issue989
updated kanidm help string (compare)
yaleman on issue989
first commit of this change checkpoint it verks (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