Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
packaging: Require account validation with pam_unix.so if PAM enabled
With a current pam_rootok.so, it works only with `root` account. If the user is under `frrvty`, `frr` group, it gets the error: ``` % groups | grep -o -E "frrvty|frr" frrvty frr % vtysh -c 'end' vtysh_pam: Failed in account validation: Permission denied(6) ``` Checking the logs: ``` vtysh[23930]: pam_rootok(frr:account): root check failed ``` Let's require a valid user, instead of the root user only. Signed-off-by: Donatas Abraitis <[email protected]>
- Loading branch information