On Mon, 28 Jul 2003, McKown, John wrote: > Alan, > I don't know if it is "normal", but I always do a > > chmod 1777 /tmp > > Would that address the security concern? Or is "world readable" the main > concern? I really HATE 777 and will generally not allow it unless forced > into it by some weird requirement. > if /tmp/strip.$$$ us a symlink to /sbin/init, what happens?
> > -- > John McKown > Senior Systems Programmer > UICI Insurance Center > Applications & Solutions Team > +1.817.255.3225 > > This message (including any attachments) contains confidential information > intended for a specific individual and purpose, and its' content is > protected by law. If you are not the intended recipient, you should delete > this message and are hereby notified that any disclosure, copying, or > distribution of this transmission, or taking any action based on it, is > strictly prohibited. > > > -----Original Message----- > > From: Alan Cox [mailto:[EMAIL PROTECTED] > > Sent: Monday, July 28, 2003 11:56 AM > > To: [EMAIL PROTECTED] > > Subject: Re: Stripping trailing blanks? > > > > > > On Llu, 2003-07-28 at 16:44, Henry, Jeff (J.) wrote: > > > A nominee for the "Useless use of cat" award: > > > > > > cat $file | sed "s/ *$//" > /tmp/strip.$$ > > > > > > vs.: > > > > > > sed "s/ *$//" < $file > /tmp/strip.$$ > > > > Can I nominate your alternative for one line security hole of the week > > 8) > > > -- Cheers John. Join the "Linux Support by Small Businesses" list at http://mail.computerdatasafe.com.au/mailman/listinfo/lssb Copyright John Summerfield. Reproduction prohibited.
