[1725] in linux-security and linux-alert archive
[linux-security] Re: Vunerable shell scripts
daemon@ATHENA.MIT.EDU (Michal Zalewski)
Wed Mar 18 19:03:40 1998
Date: Mon, 16 Mar 1998 21:37:24 +0100 (CET)
From: Michal Zalewski <lcamtuf@boss.staszic.waw.pl>
To: TherP <therapy@guardian.htu.tuwien.ac.at>
Cc: linux-security@redhat.com
In-Reply-To: <Pine.LNX.3.96.980316170053.11205A-100000@guardian.htu.tuwien.ac.at>
Resent-From: linux-security@redhat.com
Reply-To: linux-security@redhat.com
On Mon, 16 Mar 1998, TherP wrote:
> MYTEMP=$HOME/tmp
> install -m 0700 -d $MYTEMP
> TMPFILE=$MYTEMP/$0.$$
>
> please, to all people writting manual/how-tos/tutorials about
> shellscripting: put these few lines on the first page!
To be more conform:
TMPFILE=`mktemp $TMPDIR/tmp$0$$.XXXXXX` || exit 1
_______________________________________________________________________
Michal Zalewski [tel 9690] | finger 4 PGP [lcamtuf@boss.staszic.waw.pl]
Iterowac jest rzecza ludzka, wykonywac rekursywnie - boska [P. Deustch]
=--------------- [ echo "\$0&\$0">_;chmod +x _;./_ ] -----------------=
--
----------------------------------------------------------------------
Please refer to the information about this list as well as general
information about Linux security at http://www.aoy.com/Linux/Security.
----------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe test-list-request@redhat.com < /dev/null