|
|||||||||||
|
Re: consent to monitoring banner for ssh
From: Carl G. Riches <cgr(at)u.washington.edu>
Date: Wed Dec 05 2007 - 19:32:27 EST
> We did a somewhat-similar task at a place where I used to work. We set everyone's login shell to a locally-written perl script. That perl script did things such as ensure that the user had permission to log in to the system (checking against user database), check the user's quota, print out a blurb, then exec( )'d tcsh. It needed some interupt handling, though, to fit what you want to do. I don't have the code anymore, but this might give you an idea of what direction to go. (Would you need to record user's answers to your question in a database for future reference? This might give you that ability.) This worked with all of the SSH clients we had around (OpenSSH, Tectia, TeraTerm, maybe PuTTY). Carl -- Carl G. Riches Software Engineer Department of Biostatistics Box 357232 voice: 206-616-2725 University of Washington fax: 206-543-3286 Seattle, WA 98195-7232 internet: cgr@u.washington.edu -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-listReceived on Wed Dec 5 19:33:03 2007 This archive was generated by hypermail 2.1.8 : Fri May 30 2008 - 14:26:49 EDT |
||||||||||
|
|||||||||||