Improve per-command authorization performance by read passwd entry with getpwent. This is manually cherry-pick PR for #16460 Why I did it Currently per-command authorization will check if user is remote user with getpwnam API, which will trigger tacplus-nss for authentication with TACACS server. But this is not necessary because when user login the user information already add to local passwd file. Use getpwent API can directly read from passwd file, this will improve per-command authorization performance. |
||
---|---|---|
.. | ||
audisp | ||
bash_tacplus | ||
nss | ||
pam | ||
.gitignore |