]> git.ozlabs.org Git - ppp.git/commitdiff
Change UID to ORIG_UID because bash defines UID.
authorPaul Mackerras <paulus@samba.org>
Sun, 13 Sep 1998 23:38:49 +0000 (23:38 +0000)
committerPaul Mackerras <paulus@samba.org>
Sun, 13 Sep 1998 23:38:49 +0000 (23:38 +0000)
pppd/main.c
pppd/pppd.8

index b6efbfa7b49a6bf8d7bdb25d6f6320ea0e58a65a..7072d0a871fabcf9b615e3df1b179ff41ae2aa1d 100644 (file)
@@ -18,7 +18,7 @@
  */
 
 #ifndef lint
-static char rcsid[] = "$Id: main.c,v 1.49 1998/05/05 05:24:17 paulus Exp $";
+static char rcsid[] = "$Id: main.c,v 1.50 1998/09/13 23:38:49 paulus Exp $";
 #endif
 
 #include <stdio.h>
@@ -199,7 +199,7 @@ main(argc, argv)
     uid = getuid();
     privileged = uid == 0;
     sprintf(numbuf, "%d", uid);
-    script_setenv("UID", numbuf);
+    script_setenv("ORIG_UID", numbuf);
 
     /*
      * Initialize to the standard option set, then parse, in order,
index e7ea9c4a5e8eb2718aba3fd54af1dfe4def01eff..f69380e2fb2f0b180c2b67eba9502738b63cdc93 100644 (file)
@@ -1,5 +1,5 @@
 .\" manual page [] for pppd 2.3
-.\" $Id: pppd.8,v 1.28 1998/09/04 18:49:15 christos Exp $
+.\" $Id: pppd.8,v 1.29 1998/09/13 23:38:49 paulus Exp $
 .\" SH section heading
 .\" SS subsection heading
 .\" LP paragraph
@@ -1008,7 +1008,7 @@ authenticates itself.
 .B SPEED
 The baud rate of the tty device.
 .TP
-.B UID
+.B ORIG_UID
 The real user-id of the user who invoked pppd.
 .P
 Pppd invokes the following scripts, if they exist.  It is not an error