From owner-freebsd-isp Sat Jan 10 07:23:57 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA10404 for isp-outgoing; Sat, 10 Jan 1998 07:23:57 -0800 (PST) (envelope-from owner-freebsd-isp) Received: from emu.sourcee.com (emu.sourcee.com [199.201.159.173]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA10379 for ; Sat, 10 Jan 1998 07:23:39 -0800 (PST) (envelope-from nrice@emu.sourcee.com) Received: (from nrice@localhost) by emu.sourcee.com (8.8.8/8.8.3) id KAA09810; Sat, 10 Jan 1998 10:23:27 -0500 (EST) Message-ID: <19980110102326.26066@emu.sourcee.com> Date: Sat, 10 Jan 1998 10:23:26 -0500 From: Norman C Rice To: David Hawkins Cc: freebsd-isp@freebsd.org Subject: Re: How to lock out a nonpaying user? References: <199801101411.GAA17813@ohio.river.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <199801101411.GAA17813@ohio.river.org>; from David Hawkins on Sat, Jan 10, 1998 at 06:11:10AM -0800 Sender: owner-freebsd-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sat, Jan 10, 1998 at 06:11:10AM -0800, David Hawkins wrote: > 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 > > Suggestions? > > later, david > -- > David Hawkins -- dhawk@river.org http://www.river.org > Clever people seem not to feel the natural pleasure of bewilderments, > and are always answering questions when the chief relish of life is to > go on asking them. -- Frank Moore Colby I use `vipw' to place an asterisk (*) in the first character of their password field. deadbeat:*$1$B0i0:1008:69::0:0:Slow Pay:/home/spay:/bin/csh ^ You could use vipw to change their login program to /usr/bin/false or /nonexistent. deadbeat:$1$B0i0:1008:69::0:0:Slow Pay:/home/spay:/nonexistent ^^^^^^^^^^^^ -- Regards, Norman C. Rice, Jr.