diff options
author | brian <brian@FreeBSD.org> | 1997-08-31 20:07:03 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-08-31 20:07:03 +0000 |
commit | 4ac4d60bc7830f1fa058d8a8f7a727ca2f0377d5 (patch) | |
tree | 14ecef37ba73da823e549a7df79016d16054e580 /usr.sbin/ppp/main.c | |
parent | 03cddbd34b70cc97fbd01ca3734fbb044adeefc4 (diff) | |
download | FreeBSD-src-4ac4d60bc7830f1fa058d8a8f7a727ca2f0377d5.zip FreeBSD-src-4ac4d60bc7830f1fa058d8a8f7a727ca2f0377d5.tar.gz |
Remove use of login_progok()
Suggested by: guido
Diffstat (limited to 'usr.sbin/ppp/main.c')
-rw-r--r-- | usr.sbin/ppp/main.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c index 4980212d..0f29e64 100644 --- a/usr.sbin/ppp/main.c +++ b/usr.sbin/ppp/main.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: main.c,v 1.73 1997/08/26 23:20:11 brian Exp $ + * $Id: main.c,v 1.74 1997/08/27 20:11:16 brian Exp $ * * TODO: * o Add commands for traffic summary, version display, etc. @@ -37,8 +37,6 @@ #include <arpa/inet.h> #include <netinet/in_systm.h> #include <netinet/ip.h> -#include <sysexits.h> -#include <libutil.h> #include "modem.h" #include "os.h" #include "hdlc.h" @@ -337,12 +335,6 @@ main(int argc, char **argv) ProcessArgs(argc, argv); if (!(mode & MODE_DIRECT)) VarTerm = stdout; - - if (!login_progok(getuid(), "/usr/sbin/ppp")) { - LogPrintf(LogERROR, "You do not have permission to execute ppp\n"); - return EX_NOPERM; - } - Greetings(); GetUid(); IpcpDefAddress(); |