Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!sugar!ficc!peter From: peter@ficc.ferranti.com (Peter da Silva) Newsgroups: comp.unix.shell Subject: Re: Beware xargs security holes Message-ID: Date: 17 Oct 90 17:49:35 GMT References: <271653D6.1CE8@tct.uucp> <4062:Oct1518:22:1290@kramden.acf.nyu.edu> <3876@awdprime.UUCP> <13569:Oct1617:00:0590@kramden.acf.nyu.edu> Reply-To: peter@ficc.ferranti.com (Peter da Silva) Organization: Xenix Support, FICC Lines: 8 In article <13569:Oct1617:00:0590@kramden.acf.nyu.edu> brnstnd@kramden.acf.nyu.edu (Dan Bernstein) writes: > find / -name '#*' -atime +7 -print | xargs rm > Incorrect. If that command is run daily from cron, as it is on many > systems, then any user can remove any file on the system. OK, enlighten me. Why is this command run daily on cron on many systems? And if it is, what systems are they so I can avoid them? -- Peter da Silva. `-_-' +1 713 274 5180. 'U` peter@ferranti.com