sonic-buildimage/files/image_config/hostcfgd
Renuka Manavalan a357693f52 [tacacs]: skip accessing tacacs servers for local non-tacacs users (#2843)
* Switch the nss look up order as "compat" followed by "tacplus".
This helps use the legacy passwd file for user info and go to tacacs only if not found.
This means, we never contact tacacs for local users like "admin".
This isolates local users from any issues with tacacs servers.
W/o this fix, the sudo commands by local users could take <count of servers> * <tacacs timeout> seconds, if the tacacs servers are unreachable.

* Skip tacacs server access for local non-tacacs users.
Revert the order of 'compat tacplus' to original 'tacplus compat' as tacplus
access is required for all tacacs users, who also get created locally.
2019-05-09 14:36:32 -07:00
..
common-auth-sonic.j2 [aaa] Fix common-auth-sonic.j2 template issue (#2613) 2019-03-02 15:36:35 -08:00
hostcfgd [hostcfgd] -- Fix the default for failthrough as false. 2019-04-03 23:16:56 +00:00
hostcfgd.service Move all minigraph-related action from rc.local to updategraph (#1452) 2018-03-09 17:17:08 -08:00
tacplus_nss.conf.j2 [tacacs]: skip accessing tacacs servers for local non-tacacs users (#2843) 2019-05-09 14:36:32 -07:00