summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pppd/auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pppd/auth.c')
-rw-r--r--usr.sbin/pppd/auth.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/pppd/auth.c b/usr.sbin/pppd/auth.c
index 56fbd28..42e23f3 100644
--- a/usr.sbin/pppd/auth.c
+++ b/usr.sbin/pppd/auth.c
@@ -33,7 +33,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: auth.c,v 1.13 1997/04/13 01:06:56 brian Exp $";
+static char rcsid[] = "$Id: auth.c,v 1.14 1997/04/15 07:00:32 danny Exp $";
#endif
#include <stdio.h>
@@ -536,14 +536,14 @@ ppplogin(user, passwd, msg, msglen)
}
/*
- * Check that the user is not listed in /etc/ppp/ppp.disabled
+ * Check that the user is not listed in /etc/ppp/ppp.deny
* and that the user's shell is listed in /etc/ppp/ppp.shells
* if /etc/ppp/ppp.shells exists.
*/
- if (checkfile(_PATH_PPPDISABLED, user) == 1) {
- syslog(LOG_WARNING, "upap user %s: account disabled in %s",
- user, _PATH_PPPDISABLED);
+ if (checkfile(_PATH_PPPDENY, user) == 1) {
+ syslog(LOG_WARNING, "upap user %s: login denied in %s",
+ user, _PATH_PPPDENY);
return (UPAP_AUTHNAK);
}
OpenPOWER on IntegriCloud