Date: Wed, 12 Jul 1995 08:42:21 -0500 (CDT) From: Guy Helmer <ghelmer@alpha.dsu.edu> To: freebsd-hackers@freefall.cdrom.com Subject: removeuser script Message-ID: <Pine.OSF.3.91.950712081958.16484A-100000@alpha.dsu.edu>
next in thread | raw e-mail | index | archive | help
I've written a script in Perl that removes users from a system (removes their /etc/master.passwd entry, rebuilds the password files & databases, removes the user from any groups in /etc/group, removes the home directory if the home directory is owned by the removed user, and removes the user's incoming mail). It uses the same locking scheme as /usr/bin/{passwd,chfn,chsh,chpass}, so it shouldn't corrupt passwd files. Under basic testing, it seems to work OK on my 2.0.5 system. Anyone willing to test it? If so, please let me know. Guy Helmer, Dakota State University Computing Services - ghelmer@alpha.dsu.edu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.91.950712081958.16484A-100000>