On Tue, Oct 06, 1998 at 11:16:28AM -0700, Greg Badros wrote: > exist (our sysadmins aren't good about eliminating users from groups > when the remove the user account). don't know about how to do what you want in zsh, but here's a quick perl script i whipped up a week ago to do what your sysadmins aren't doing. set $groupfile_out to something else at first, to test, since i don't want to be responsible for anything happening to your system. (this assumes you can either run this script as root or convince your admins to, of course...) -- sweth. -- Sweth Chandramouli IS Coordinator, The George Washington University <sweth@xxxxxxx> / (202) 994 - 8521 (V) / (202) 994 - 0458 (F) <a href="http://astaroth.nit.gwu.edu/~sweth/disc.html">*</a>
Attachment:
fixgp.pl
Description: Perl Script To Remove Non-Valid Users From /etc/group