Using 'ForceCommand' Option
Dag-Erling Smørgrav
des at des.no
Fri Mar 4 20:02:04 AEDT 2016
Lesley Kimmel <lesley.j.kimmel at gmail.com> writes:
> So I probably shouldn't have said "arbitrary" script. What I really
> want to do is to present a terms of service notice (/etc/issue). But I
> also want to get the user to actually confirm (by typing 'y') that
> they accept. If they try to exit or type anything other than 'y' they
> will be denied access.
It is relatively trivial to write a PAM module to do that.
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the openssh-unix-dev
mailing list