yaleman on radius-python
clearer messaging when changing… split up the zypper clean from … (compare)
github-actions[bot] on gh-pages
deploy: 48e0fd7d210b679a459c8b6… (compare)
github-actions[bot] on gh-pages
deploy: b5794c97a31f61925ab8c47… (compare)
yaleman on master
Set default value for SCCACHE_R… (compare)
yaleman on master
Change success message to print… (compare)
github-actions[bot] on gh-pages
deploy: 790db7ea1de0ca87a1d7e9d… (compare)
yaleman on master
Add domain key to example serve… (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