Improve per-command authorization performance by read passwd entry with getpwent. #### 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. ##### Work item tracking - Microsoft ADO: 25104723 #### How I did it Improve per-command authorization performance by read passwd entry with getpwent. #### How to verify it Pass all UT. ### Description for the changelog Improve per-command authorization performance by read passwd entry with getpwent. |
||
---|---|---|
.. | ||
audisp | ||
bash_tacplus | ||
nss | ||
pam | ||
.gitignore |