Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: consent to monitoring banner for ssh

From: Bill Tangren <bjt(at)usno.navy.mil>
Date: Wed Dec 05 2007 - 15:06:32 EST

> On Wed, 5 Dec 2007, Bill Tangren wrote:
>
>>
>>> Well, you *could* do the "acceptance by logging in" thing... or you can
>>> force them to type [yes|no]. Here's how I accomplish that.
>>
>> Firstly, thanks for the help.
>>
>> I've done this on a test platform, and I end up with a dialog box when I
>> log into the GUI, but hitting the cancel button still lets me in.
>>
>> I DO NOT get a prompt when I ssh, nor do I get one from the text console
>> or tty consoles (ctl+F1 through ctl+F6).
>>
>> Any ideas on implement this in those circumstances?
>>
>
> Have you tried implementing this by replacing the user's shell (in
> /etc/passwd or equivalent) with your own wrapper script?

Hmmm...replace bash (or leave bash alone and replace the login shell in /etc/passwd) with a script that calls bash if they say OK? No, I hadn't thought of that. I'll try it on my test platform, and report back. It will be interesting to see how Windows programs like putty and winscp handle it.

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

-- 
Bill Tangren
U.S. Naval Observatory

Ad eundum quo nemo ante iit

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Received on Wed Dec 5 15:07:09 2007

This archive was generated by hypermail 2.1.8 : Fri May 30 2008 - 14:26:45 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library