File: 04_disable-path

package info (click to toggle)
rungetty 1.2-17
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 324 kB
  • sloc: ansic: 3,931; makefile: 33
file content (16 lines) | stat: -rw-r--r-- 612 bytes parent folder | download | duplicates (4)
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);