From owner-freebsd-hackers Fri Jul 5 07:50:12 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA20947 for hackers-outgoing; Fri, 5 Jul 1996 07:50:12 -0700 (PDT) Received: from alpha.dsu.edu (ghelmer@alpha.dsu.edu [138.247.32.12]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id HAA20942 for ; Fri, 5 Jul 1996 07:50:08 -0700 (PDT) Received: from localhost (ghelmer@localhost) by alpha.dsu.edu (8.7.5/8.7.3) with SMTP id JAA09087; Fri, 5 Jul 1996 09:50:00 -0500 (CDT) Date: Fri, 5 Jul 1996 09:49:59 -0500 (CDT) From: Guy Helmer To: Jaye Mathisen cc: hackers@freebsd.org Subject: Re: Is there a real live actual working deluser script? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 3 Jul 1996, Jaye Mathisen wrote: > Even if it's rudimentary? I did a search on -hackers, and there's lots of > talk about it, and about how complicated it would be, and on and on, but > no actual script, and I don't see a port or a package. My latest version of removeuser is at ftp://ftp.dsu.edu/pub/FreeBSD/ghelmer/removeuser-2-beta.tar.gz Improvements include: Removes user's crontab and at jobs No longer requires h2ph'ed versions of several files in /usr/include/machine - just install and use Uses "rm -rf" to remove user's home directory instead of removing it by hand (therefore avoids problems with uchg flag) Catches most non-fatal errors and issues warnings Maintains ownership and privileges of /etc/group after modification This code is new and should be treated as such - please test it out and let me know if you find any problems. Thanks, Guy Helmer Guy Helmer, Dakota State University Computing Services - ghelmer@alpha.dsu.edu