From owner-freebsd-security Tue Aug 31 18:23:24 1999 Delivered-To: freebsd-security@freebsd.org Received: from kleopatra.acc.umu.se (kleopatra.acc.umu.se [130.239.18.150]) by hub.freebsd.org (Postfix) with ESMTP id 7FB8515404 for ; Tue, 31 Aug 1999 18:23:19 -0700 (PDT) (envelope-from saska@acc.umu.se) Received: from montezuma.acc.umu.se (saska@montezuma-fddi.acc.umu.se [192.168.18.147]) by kleopatra.acc.umu.se (8.9.3/8.9.3) with ESMTP id DAA31540 for ; Wed, 1 Sep 1999 03:23:17 +0200 Received: (from saska@localhost) by montezuma.acc.umu.se (8.9.3/8.9.3) id DAA08309 for freebsd-security@freebsd.org; Wed, 1 Sep 1999 03:23:16 +0200 (MET DST) Date: Wed, 1 Sep 1999 03:23:16 +0200 From: Markus Holmberg To: freebsd-security@freebsd.org Subject: how to remove directories made by the core-following-symlink test code? Message-ID: <19990901032316.A8300@montezuma.acc.umu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.7i Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Wanted to test if the 2.2.8-STABLE production box here was vulnerable, so I compiled and executed with the deep dir structure as a result.. Am I missing something very trivial here, or how am I supposed to do to remove the very deep directory structure that was made by the core-follow-symlink test/exploit/whatever code? A normal "rm -rf " won't do it.. It ends with lots of these: ******* CUT ****** rm: 13456/ YOUR PUBLIC SSH1 KEY (-b 512) GOES HERE! /AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA: Directory not empty rm: 13456/ YOUR PUBLIC SSH1 KEY (-b 512) GOES HERE! : Directory not empty rm: 13456: Directory not empty ******* CUT ****** Tried everything I could think of! Any help is appreciated..! :) (don't want /etc/security to core dump each and every night :/) Markus -- Markus Holmberg | Give me UNIX or give me a typewriter. saska@acc.umu.se | http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message