aboutsummaryrefslogtreecommitdiff
path: root/network/quagga/vtysh_user.c.diff
blob: 7dfad308616d5554e6b8d8c592a0baf15f27af3c (plain)
1
2
3
4
5
6
7
--- old/vtysh/vtysh_user.c.orig	2006-11-03 01:53:58.000000000 +0100
+++ new/vtysh/vtysh_user.c	2006-11-03 01:59:02.000000000 +0100
@@ -60,2 +60,4 @@ vtysh_pam (const char *user)
     ret = pam_authenticate (pamh, 0);
+  if (ret != PAM_SUCCESS)
+    printf("Not authenticated. Check /etc/pam.d/quagga.\n");
   /* printf ("ret %d\n", ret); */