X-Git-Url: https://git.sommitrealweird.co.uk/quagga-debian.git/blobdiff_plain/6d99eb2938e976229cb50d848a1bc491532b54f9..c22d2168e5a5d0d070328308405cecbdbe5efcd8:/vtysh/vtysh_user.c?ds=inline 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