From owner-freebsd-isp Sat Jan 10 10:45:12 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA29068 for isp-outgoing; Sat, 10 Jan 1998 10:45:12 -0800 (PST) (envelope-from owner-freebsd-isp) Received: from cobalt.impulse.net (cobalt.impulse.net [204.188.6.31]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id KAA29057 for ; Sat, 10 Jan 1998 10:45:07 -0800 (PST) (envelope-from chris@cobalt.impulse.net) Received: (qmail 21905 invoked by uid 1000); 10 Jan 1998 18:44:51 -0000 Message-ID: <19980110184451.21904.qmail@cobalt.impulse.net> Date: Sat, 10 Jan 1998 10:44:51 -0800 (PST) To: dhawk@river.org Cc: freebsd-isp@FreeBSD.ORG From: "Christopher L. Cousins" Subject: Re: How to lock out a nonpaying user? In-Reply-To: <199801101411.GAA17813@ohio.river.org> X-Mailer: Ishmail 1.3.2-971023-FreeBSD MIME-Version: 1.0 Content-Type: text/plain 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 I use the "chpass" command from within a shell script. ex chpass -e "$todays-date" $username Many programs don't check the expire date so you have to play with them a bit to get it work. (Radius and Qpopper come to mind) When you want to re-activate the account. chpass -e "0" $username > > 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 > Christopher L. Cousins ____ Impulse Internet Services / \ ____________________________/ \_____