1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Author: Rhonda D'Vine <rhonda@debian.org> vim:ft=diff:
Description: disabling of setting a PATH on our own (BTS #113389)
Index: rungetty-1.2/rungetty.c
===================================================================
--- rungetty-1.2.orig/rungetty.c
+++ rungetty-1.2/rungetty.c
@@ -588,7 +588,7 @@ main (int argc, char **argv)
#else
putenv ("TERM=vt100");
#endif
- putenv ("PATH=/bin:/usr/bin:/usr/ucb:/usr/local/bin");
+/* disabled -- get path from init putenv ("PATH=/bin:/usr/bin:/usr/ucb:/usr/local/bin"); */
/* flush input and output queues, important for modems */
ioctl (0, TCFLSH, 2);
|