Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.hawaii.edu!ames!news.larc.nasa.gov!news.msfc.nasa.gov!newsfeed.internetmci.com!EU.net!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!jraynard.demon.co.uk!not-for-mail From: james@jraynard.demon.co.uk (James Raynard) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Delete User Date: 26 Jul 1996 14:05:24 -0000 Organization: A FreeBSD Box Lines: 26 Message-ID: <4tajb4$1f3@jraynard.demon.co.uk> References: <31F7AA14.6A52@worldgate.com> <4t903v$1lc@ivory.dsu.edu> NNTP-Posting-Host: localhost X-NNTP-Posting-Host: jraynard.demon.co.uk In article <4t903v$1lc@ivory.dsu.edu>, Guy Helmer <ghelmer@ivory.dsu.edu> wrote: >Kevin Traub <traubk@worldgate.com> writes: > >>Whats the full procedure for deleting a user? > >Remove the user's crontab (if it exists) with "crontab -u user -r" >Remove any "at" jobs the user has queued (use "atq" to list and > "atrm" to remove the user's jobs) >Remove the user's password entry with the help of "vipw" >Remove the user's home directory >Remove the user's incoming mail file from /var/mail Also:- Kill any processes the user has left running Remove any files the user has left in world-writeable directories (including /var/tmp, which is not automatically cleaned on reboot) Make arrangements for forwarding the user's mail to their new location (if required). -- James Raynard, Edinburgh, Scotland james@jraynard.demon.co.uk http://www.freebsd.org/~jraynard/