X-Git-Url: https://git.sommitrealweird.co.uk/quagga-debian.git/blobdiff_plain/6d99eb2938e976229cb50d848a1bc491532b54f9..191fe7a34582876de01d3e62c2a6587baf59a283:/debian/patches/0001-82_vtysh__vtysh_user.c__pam.patch diff --git a/debian/patches/0001-82_vtysh__vtysh_user.c__pam.patch b/debian/patches/0001-82_vtysh__vtysh_user.c__pam.patch new file mode 100644 index 0000000..057cb0d --- /dev/null +++ b/debian/patches/0001-82_vtysh__vtysh_user.c__pam.patch @@ -0,0 +1,21 @@ +From: Debian QA Group +Date: Sat, 12 Nov 2016 01:16:08 +1100 +Subject: 82_vtysh__vtysh_user.c__pam + +--- + vtysh/vtysh_user.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/vtysh/vtysh_user.c b/vtysh/vtysh_user.c +index 584b61f..ad0c79d 100644 +--- a/vtysh/vtysh_user.c ++++ b/vtysh/vtysh_user.c +@@ -59,6 +59,8 @@ vtysh_pam (const char *user) + /* Is user really user? */ + if (ret == PAM_SUCCESS) + ret = pam_authenticate (pamh, 0); ++ if (ret != PAM_SUCCESS) ++ printf("Not authenticated. Check /etc/pam.d/quagga.\n"); + /* printf ("ret %d\n", ret); */ + + #if 0