Date: Sat, 10 Jan 1998 10:44:51 -0800 (PST) From: "Christopher L. Cousins" <chris@impulse.net> To: dhawk@river.org Cc: freebsd-isp@FreeBSD.ORG Subject: Re: How to lock out a nonpaying user? Message-ID: <19980110184451.21904.qmail@cobalt.impulse.net> In-Reply-To: <199801101411.GAA17813@ohio.river.org>
next in thread | previous in thread | raw e-mail | index | archive | help
David Hawkins <dhawk@river.org> 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 / \ ____________________________/ \_____
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980110184451.21904.qmail>