yaleman on kani-artwork
Implementing display_domain_nam… das stickern (compare)
Firstyear on v0.3.6
Firstyear on master
Add mutable iter support (cargo-release) version 0.3.6 (compare)
yaleman on issue860
yes, test_https_middleware_head… (compare)
yaleman on issue860
minor formattingthing Found something that could be a… added some clearer messaging an… (compare)
yaleman on issue860
moved domain_name_change under … I can't work out the database b… (compare)
yaleman on issue860
updating docs messing around with design file… (compare)
Firstyear on v0.3.5
Firstyear on master
(cargo-release) version 0.3.5 (compare)
Firstyear on 20220629-iterator-improvements
Firstyear on master
Improvements to bptree iter - r… (compare)
% 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 }
nirya@Asuka ~ % sudo 'echo test'
[sudo] password for nirya:
sm_authenticate
args -> ["debug", "ignore_unknown_user"]
opts -> Options { debug: true, use_first_pass: false, ignore_unknown_user: true }
acct_mgmt
args -> ["debug", "ignore_unknown_user"]
opts -> Options { debug: true, use_first_pass: false, ignore_unknown_user: true }
sudo: PAM account management error: Authentication service cannot retrieve authentication info
sudo: a password is required
# /etc/pam.d/common-auth-pc
auth required pam_env.so
auth [default=1 ignore=ignore success=ok] pam_localuser.so
auth sufficient pam_unix.so nullok try_first_pass
auth requisite pam_succeed_if.so uid >= 1000 quiet_success
auth sufficient pam_kanidm.so ignore_unknown_user
auth required pam_deny.so