From owner-freebsd-isp Sat Jan 10 08:13:58 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA13726 for isp-outgoing; Sat, 10 Jan 1998 08:13:58 -0800 (PST) (envelope-from owner-freebsd-isp) Received: from didda.est.is (didda.est.is [194.144.208.205]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA13688 for ; Sat, 10 Jan 1998 08:13:43 -0800 (PST) (envelope-from totii@est.is) Received: from est.is (didda.est.is [192.168.255.1]) by didda.est.is (8.8.7/8.8.7) with ESMTP id QAA01633; Sat, 10 Jan 1998 16:10:45 GMT (envelope-from totii@est.is) Message-ID: <34B79D84.E8A9F2A2@est.is> Date: Sat, 10 Jan 1998 16:10:44 +0000 From: "Þorður Ivarsson" X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.5-RELEASE i386) MIME-Version: 1.0 To: David Hawkins CC: freebsd-isp@FreeBSD.ORG Subject: Re: How to lock out a nonpaying user? References: <199801101411.GAA17813@ohio.river.org> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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? You can disable the user with changeing password field of his through 'vipw', we add '$' in front of the password field to see if user is enabled or disabled. -- Þórður Ívarsson Thordur Ivarsson Rafeindavirki Electronic technician Norðurgötu 30 Nordurgotu 30 Box 309 Box 309 602 Akureyri 602 Akureyri Ísland Iceland --------------------------------------------- FreeBSD has good features, Some others are full of unwanted features! ---------------------------------------------