From owner-freebsd-isp Fri Feb 9 23:36:43 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA24977 for isp-outgoing; Fri, 9 Feb 1996 23:36:43 -0800 (PST) Received: from neptune.pristine.com.tw ([192.72.150.2]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id XAA24962 for ; Fri, 9 Feb 1996 23:36:38 -0800 (PST) Received: (from team_fbf@localhost) by neptune.pristine.com.tw (8.6.11/8.6.9) id PAA19369; Sat, 10 Feb 1996 15:32:20 GMT From: ywliu Message-Id: <199602101532.PAA19369@neptune.pristine.com.tw> Subject: Re: General questions To: codonnel@bus.net (C. O'Donnell) Date: Sat, 10 Feb 1996 15:32:20 +0000 () Cc: freebsd-isp@FreeBSD.org In-Reply-To: <199602081234.HAA29621@comet.connix.com> from "C. O'Donnell" at Feb 8, 96 07:34:10 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-isp@FreeBSD.org Precedence: bulk > > A couple general questions: > > 1) adduser: Has any found a good tool to remove them? > Or did you have to write one from scratch? Nope. Now I do this manually. Remove the user entry with vipw, find all files with his uid and delete them. Remove his crontab job as well. > > 2) Do you use `/nonexistant' for a shell field in the /etc/passwd > for users with only POP mail logins or is there a better way? > What about the home directory? /tmp? > IMHO, as long as your users never log onto the mailbox machine (or it's your policy to disallow users to get to the machine except for POP mail), I guess it's OK to set it to anywhere you like. I personally even want to set their login shells to /nonexistant to avoid any user problems, as long as the machine is dedicated to POP mail server only (though I don't have chances to try yet). Setting it to /nonexistant or any non-existant directory will bring the home to / ; so I guess probably it doesn't make any difference, if the login shell is specified. Yen-Wei Liu (ywliu@pristine.com.tw)