yaleman on issue860
docs tweaks (compare)
yaleman on issue860
quick run on settings I kissed the QS and I liked it before rebase and 28 more (compare)
Firstyear on issue860
Fixes (compare)
Firstyear on 68-replication-changelog-basics
Fix up logging (compare)
Firstyear on 68-replication-changelog-basics
Foundations Tests pass and we have base ver… More progress and 4 more (compare)
Firstyear on v0.2.4
Firstyear on master
(cargo-release) version 0.2.4 (compare)
Firstyear on master
Improve eq (compare)
github-actions[bot] on gh-pages
deploy: 9cf4e180dc58ab81cd9a9c2… (compare)
yaleman on kanidm_cli_docker
Firstyear on master
one day james, one day. (#907) (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
$ sudo --user=nirya --login
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for safety:
acct_mgmt
args -> ["debug", "ignore_unknown_user"]
opts -> Options { debug: true, use_first_pass: false, ignore_unknown_user: true }