From owner-freebsd-questions Sat May 2 20:39:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA17993 for freebsd-questions-outgoing; Sat, 2 May 1998 20:39:46 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dan.emsphone.com (dan@dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA17983 for ; Sat, 2 May 1998 20:39:38 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.8.8/8.8.6) id WAA16589; Sat, 2 May 1998 22:39:36 -0500 (CDT) Message-ID: <19980502223935.A16476@emsphone.com> Date: Sat, 2 May 1998 22:39:35 -0500 From: Dan Nelson To: Studded Cc: questions@FreeBSD.ORG Subject: Re: FreeBSD Questions References: <354BD69C.D8ACC42@san.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.92.4i In-Reply-To: <354BD69C.D8ACC42@san.rr.com>; from "Studded" on Sat May 2 19:29:48 GMT 1998 X-OS: FreeBSD 2.2.6-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (May 02), Studded said: > Jonathan Chen wrote: > > > Check out the im= field in /etc/gettytab > > I have a couple questions related to this. For one, the /etc/issue > question comes up often, is there any way to hack getty to allow the im > field to specify a file? I am sure this would be a welcome addition. check out the "if" field. > The other question is a long standing one, in my brain anyway. :) Is > there any way to make the im field work with ssh? ssh doesn't use getty. Neither does telnetd. You can print a message, or run arbitrary commands, through an ssh login by creating a /usr/local/etc/sshrc script and displaying the message from there. -Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message