From owner-freebsd-isp Sat Jan 10 09:55:04 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA24075 for isp-outgoing; Sat, 10 Jan 1998 09:55:04 -0800 (PST) (envelope-from owner-freebsd-isp) Received: from shell6.ba.best.com (jkb@shell6.ba.best.com [206.184.139.137]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA24064 for ; Sat, 10 Jan 1998 09:54:59 -0800 (PST) (envelope-from jkb@best.com) Received: from localhost (jkb@localhost) by shell6.ba.best.com (8.8.8/8.8.BEST) with SMTP id JAA04551; Sat, 10 Jan 1998 09:53:40 -0800 (PST) X-Authentication-Warning: shell6.ba.best.com: jkb owned process doing -bs Date: Sat, 10 Jan 1998 09:53:40 -0800 (PST) From: Jan Koum X-Sender: jkb@shell6.ba.best.com To: David Hawkins cc: freebsd-isp@FreeBSD.ORG Subject: Re: How to lock out a nonpaying user? In-Reply-To: <199801101411.GAA17813@ohio.river.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Why don't you run "vipw" and put a * at the begegining of thier password. For example, change this: luser:$1$xtp9K$gPT1/ii2srm2mm4OXQDnt.:1006:1006::0:0:Luser:/home/luser:/bin/csh to this: luser:*$1$xtp9K$gPT1/ii2srm2mm4OXQDnt.:1006:1006::0:0:Luser:/home/luser:/bin/csh ^^^ this will not allow them to login, but once they pay, you take the start out and they can login back again with the same password. -- Yan On Sat, 10 Jan 1998, 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 >