This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/src/tacacs
Hua Liu cd64b60ec2
[202205] [TACACS] Improve per-command authorization performance by read passwd entry with getpwent (#16659)
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.
2023-10-13 18:36:45 -07:00
..
audisp [TACACS] Fix auditd can't load tacplus plugin issue. (#9481) 2021-12-16 11:02:58 +08:00
bash_tacplus [202205] [TACACS] Improve per-command authorization performance by read passwd entry with getpwent (#16659) 2023-10-13 18:36:45 -07:00
nss [TACACS] Send remote address in TACACS+ authorization message. (#12190) 2022-11-10 18:09:07 +00:00
pam send log to /var/log/syslog; Add user info the message (#10033) 2022-03-07 15:01:31 -08:00
.gitignore [TACACS+] Add audisp-tacplus for per-command accounting. (#8750) 2021-12-01 11:50:09 +08:00