From owner-freebsd-isp Sat Jan 10 09:20:30 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA19869 for isp-outgoing; Sat, 10 Jan 1998 09:20:30 -0800 (PST) (envelope-from owner-freebsd-isp) Received: from onyx.atipa.com (user4903@ns.atipa.com [208.128.22.10]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id JAA19845 for ; Sat, 10 Jan 1998 09:20:17 -0800 (PST) (envelope-from freebsd@atipa.com) Received: (qmail-queue invoked by uid 1018); 10 Jan 1998 17:27:03 -0000 Date: Sat, 10 Jan 1998 10:27:03 -0700 (MST) From: Atipa X-Sender: freebsd@dot.ishiboo.com To: Justen Stepka cc: David Hawkins , freebsd-isp@FreeBSD.ORG Subject: Re: How to lock out a nonpaying user? In-Reply-To: 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 1) Change shell to /usr/local/bin/locksh 2) Make the above file, similar to this: #!/bin/sh echo "You have an administrative hold on your account." echo "Please contact Customer Service to reactivate services." echo " " echo -n "Logging attempt..." mail -s "$USER tried to log in `date`" root < /dev/null > /dev/null echo "Done." exit 0 3) add their name to /etc/ftpusers 4) chown root /home/their_home_directory 5) chmod 700 /home/their_home_directory 6) make sure their personal web page is similarly moded. 7) nuke any radius or other PPP passwords they may have Kevin On Sat, 10 Jan 1998, Justen Stepka wrote: > 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