Date: Wed, 11 Oct 2000 15:03:30 -0500 From: "Jeffrey J. Mountin" <jeff-ml@mountin.net> To: Dragos Ruiu <dr@kyx.net>, Robert.Watson@peak.mountin.net Cc: freebsd-security@FreeBSD.ORG Subject: Re: ncurses buffer overflows (fwd) Message-ID: <4.3.2.20001011145807.00b85580@207.227.119.2> In-Reply-To: <0010102350400T.40602@smp.kyx.net> References: <Pine.NEB.3.96L.1001011000711.28422E-100000@fledge.watson.org> <Pine.NEB.3.96L.1001011000711.28422E-100000@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
At 11:46 PM 10/10/00 -0700, Dragos Ruiu wrote: CC's trimmed >On Tue, 10 Oct 2000, Robert Watson wrote: > >The general gyst is the following: shells > > (especially when running in single-user mode for some reason) will tend to > > execute shell scripts themselves, rather than using the interpreter > > defined in the file (not in multi-user mode?). > >This behaviour seems to make sense for single user mode, >where you may have dropped down to with intent of repairing >things. Not all the partitions may be mounted and those >other shells may not be available.... Don't normally run shell scripts in single user mode, but all the system shells are in /bin and should be available. Always make to add ksh in there as well. The other day made a mistake and did a 'sh <script>' rather than 'ksh <script>' and it didn't like a ksh'ism. Not following the #! line when doing './<script>' in single user mode would be bug, IMO. Also might bork things, if it works at all. Jeff Mountin - jeff@mountin.net Systems/Network Administrator FreeBSD - the power to serve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.2.20001011145807.00b85580>