From owner-freebsd-questions Tue Apr 15 14:00:32 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA10732 for questions-outgoing; Tue, 15 Apr 1997 14:00:32 -0700 (PDT) Received: from narcissus.ml.org (root@brosenga.Pitzer.edu [134.173.120.201]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA10725 for ; Tue, 15 Apr 1997 14:00:29 -0700 (PDT) Received: from localhost (ben@localhost) by narcissus.ml.org (8.8.5/8.7.3) with SMTP id OAA02565; Tue, 15 Apr 1997 14:00:28 -0700 (PDT) Date: Tue, 15 Apr 1997 14:00:28 -0700 (PDT) From: Snob Art Genre To: Lord GoViL cc: freebsd-questions@freebsd.org Subject: Re: Is this a dumb question? In-Reply-To: <3.0.32.19970415153446.006ef63c@super-highway.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 15 Apr 1997, Lord GoViL wrote: > I can't figure out what I thought should be a easy thing to do. Remove a > user from the system. Is there a easy way to delete them or do I have to > delete them step by step from wherever thier name appears in the system? > help! :) It's not a dumb question. There is a perl script called removeuser that's available on cdrom.com somewhere, I'm pretty sure. Or, just follow this checklist: [ ] rm -r their home directory [ ] use vipw to delete their line in the password file (or change their password to *, or change their shell to /sbin/nologin) [ ] delete their mail spool [ ] kill any at or cron jobs belonging to them [ ] if they have their own group, remove it from /etc/group > -------------------------------------------------------------------------- > Choose no life, no friends, no family. Choose a big computer, hard drives > the size of washing machines. Choose old cars and electric coffee makers, > no sleep, high caffeine, a rented shoebox. Choose black jeans and matching > combat boots. Choose Sendmail and wondering why you're logged on on a > Sunday morning. Choose your future. Choose sysadmining. I like your sig. Ben "You have your mind on computers, it seems."