*/
#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>
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,
.\" 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
.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