paternoster
paternoster copied to clipboard
check_user as list?
I was hoping check_user would accept a list of valid users, but it's scalar only. Maybe this could become an enhancement sometime.
check_user: [ jane, jpm ]
What I probably should show is the subsequent error when I try that. :-)
...
File "../python3.9/site-packages/paternoster/root.py", line 30, in check_user
return os.geteuid() == pwd.getpwnam(user).pw_uid
TypeError: getpwnam() argument must be str, not list