projects
/
quagga-debian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New upstream release and new maintainer
[quagga-debian.git]
/
vtysh
/
vtysh_user.c
diff --git
a/vtysh/vtysh_user.c
b/vtysh/vtysh_user.c
index 584b61f51d1335ce3b4403a4a5e6bab4734e4f08..ad0c79d6b58a17f1729af306e33aeffbdb078667 100644
(file)
--- 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