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