Date: Tue, 29 Oct 1996 07:55:22 +0100 (MET) From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-current@FreeBSD.org (FreeBSD-current users) Subject: Re: cvs commit: src/bin/sh main.c options.c options.h sh.1 Message-ID: <199610290655.HAA03985@uriah.heep.sax.de> In-Reply-To: <199610290312.TAA18784@freefall.freebsd.org> from Steve Price at "Oct 28, 96 07:12:56 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
As Steve Price wrote: > steve 96/10/28 19:12:54 > > Modified: bin/sh main.c options.c options.h sh.1 > Log: > Add the -p (privileged) commandline switch > found in bash, zsh, and friends. > > Reviewed by: joerg Actually, it originates from ksh, where our (Posix') $ENV usage originates, too. The most important part now though is (sorry for shouting :): IT IS HIGHLY RECOMMENDED THAT YOU START YOUR SHELL SCRIPTS WITH #!/bin/sh -p NOW! This is in particular true for things that can be invoked by random users like login shell scripts, but might also come handy for things like /dev/MAKEDEV. For the reasoning why this is useful, refer to PR docs/1383. (This PR can now be closed after updating the ppp man page.) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610290655.HAA03985>