Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jan 1998 11:26:56 -0600 (CST)
From:      Alex Nash <nash@mcs.net>
To:        totii@est.is
Cc:        dhawk@river.org, freebsd-isp@FreeBSD.ORG
Subject:   Re: How to lock out a nonpaying user?
Message-ID:  <199801101726.LAA07557@nash.pr.mcs.net>
In-Reply-To: <34B79D84.E8A9F2A2@est.is>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10 Jan, Žoršur Ivarsson wrote:
> 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.

If they have a friend on the same system with an unlocked account, they
can bypass the .cshrc and .profile with 'su -m'.

>> 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.

Note that both rsh and ssh can be setup to allow people in without
checking the password field.

Alex





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801101726.LAA07557>