Date: Fri, 22 Nov 1996 16:12:08 -0600 (CST) From: Mark Tinguely <tinguely@plains.nodak.edu> To: dave@fcs.net, questions@freebsd.org Subject: Re: Removing Users Message-ID: <199611222212.QAA16439@plains.nodak.edu>
next in thread | raw e-mail | index | archive | help
> How do I remove a user from the database? I can't seem to find any info > anywhere on removing or editing users files. 1. (optionally) backup their files 2. (oprionally) remove their files: for i in /home /var /tmp do find $i -user USER -exec rm {}\; done 3. remove the account: vipw (search for user's entry -- depends on which editor is defined in EDITOR, then remove that line. saving the file remakes the database) or remove user's entry from /etc/master.passwd using awk and then run pwd_mkdb to remake the database and /etc/passwd --mark.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611222212.QAA16439>