Date: Sat, 10 Jan 1998 10:27:03 -0700 (MST) From: Atipa <freebsd@atipa.com> To: Justen Stepka <jstepka@chaos.winternet.com> Cc: David Hawkins <dhawk@river.org>, freebsd-isp@FreeBSD.ORG Subject: Re: How to lock out a nonpaying user? Message-ID: <Pine.BSF.3.91.980110095951.4491B-100000@dot.ishiboo.com> In-Reply-To: <Pine.BSF.3.96.980110094914.10582A-100000@chaos.winternet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.980110095951.4491B-100000>