*BSD News Article 58899


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!news.ksu.ksu.edu!news.physics.uiowa.edu!math.ohio-state.edu!howland.reston.ans.net!gatech!newsfeed.internetmci.com!uwm.edu!msunews!netnews.upenn.edu!news.voicenet.com!news
From: MIT (MIT)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How to configure network under FreeBSD
Date: Sun, 14 Jan 1996 08:15:37 GMT
Organization: Voicenet - Internet Access - (215)674-9290
Lines: 28
Message-ID: <4da3dn$7vb@news.voicenet.com>
References: <4zF8wkoYzg8L084yn@hntp2.hinet.net> <4cr4qh$pl@uriah.heep.sax.de> <4d25np$c8o@news.voicenet.com> <4d3eut$cc3@usenet.ucs.indiana.edu> <4d3fs5$1bsg@info4.rus.uni-stuttgart.de>
NNTP-Posting-Host: philly263.voicenet.com
X-Newsreader: Forte Free Agent v0.55

schweikh@itosun.ito.uni-stuttgart.de (Jens Schweikhardt) wrote:


>naughty_user% cat > /tmp/ks
>#!/bin/sh
>rm -rf $HOME
>^D
>naughty_user% chmod 755 /tmp/ks


>you% cd /tmp
>you% ks   # oops! a typo. Actually you wanted 'ls'
><disk starts making some noise...>
><you start making some noise...>

>So never put . in your PATH.




this would suck, but there are thousands of ways to trash your system
with the root account. it's best to avoid it whenever possible.