From owner-freebsd-isp Sat Jan 10 19:15:34 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA00394 for isp-outgoing; Sat, 10 Jan 1998 19:15:34 -0800 (PST) (envelope-from owner-freebsd-isp) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA00389 for ; Sat, 10 Jan 1998 19:15:31 -0800 (PST) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id PAA16796; Sat, 10 Jan 1998 15:09:35 -0800 (PST) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma016792; Sat Jan 10 15:09:15 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id PAA24825; Sat, 10 Jan 1998 15:09:15 -0800 (PST) From: Archie Cobbs Message-Id: <199801102309.PAA24825@bubba.whistle.com> Subject: Re: How to lock out a nonpaying user? In-Reply-To: <199801101411.GAA17813@ohio.river.org> from David Hawkins at "Jan 10, 98 06:11:10 am" To: dhawk@river.org (David Hawkins) Date: Sat, 10 Jan 1998 15:09:15 -0800 (PST) Cc: freebsd-isp@freebsd.org X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk David Hawkins writes: > How do you lock out a person for nonpay so that it's relatively > easy to reactivate their account later? I tried replacing their > respective .cshrc and .profile with exec /bin/cat goaway.message > but one has gotten around that. I also add them to /etc/ftpusers > so they can't use delete in ftp to remove the .cshrc Don't change their .cshrc or .profile.. those are personal files. Instead, using vipw(8), change their shells and/or replace their password fields with an asterisk. For example, look at the "bin" password entry: bin:*:3:7:Binaries Commands and Source,,,:/:/nonexistent -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com