slackbuilds_ponce/network/quagga/vtysh_user.c.diff
Dave Woodfall 10eaded8f7
network/quagga: Add autoreconf + -fcommon.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2022-02-27 01:09:51 +07:00

7 lines
341 B
Diff

--- 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); */