*BSD News Article 65515


Return to BSD News archive

#! rnews 2002 bsd
Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!qns3.qns.com!news.sprintlink.net!new-news.sprintlink.net!howland.reston.ans.net!gatech!newsfeed.internetmci.com!in1.uu.net!news.sandia.gov!sargon.mdl.sandia.gov!aflundi
From: aflundi@mdl.sandia.gov (Alan F Lundin)
Subject: Re: gpm for freebsd?
Message-ID: <1996Apr8.204110.20900@mdl.sandia.gov>
Reply-To: aflundi@sandia.gov (Alan F Lundin)
Organization: MDL, Sandia National Labs., Albuquerque, NM
References: <4jo9ge$pcp@cville-srv.wam.umd.edu> <4jpglh$kv1@rigel.pixi.com> <shawnbDp7Kp9.HJK@netcom.com>
Date: Mon, 8 Apr 1996 20:41:10 GMT
Lines: 29

In article <shawnbDp7Kp9.HJK@netcom.com>,
Shawn Brown <shawnb@netcom.com> wrote:
>In article <4jpglh$kv1@rigel.pixi.com>, R J Huntington <rjh@pacinfo.net> wrote:
>>In article <4jo9ge$pcp@cville-srv.wam.umd.edu>, thieule@w3eax.umd.edu propones...
>>>
>>>A second question, what is the file that FreeBSD reads to display the
>>>login banner?  eg what you see before the login: prompt.  Under linux,
>>>this was /etc/issue or /etc/issue.net, but when i looked in the /etc
>>>directory, I couldn't find either files.
>>
>>Look at /etc/motd which I imagine stands for 'message of the day'.
>>
>
>No.  /etc/motd gets displayed *after* login.  He wants a pre-login banner.
>This is an an att'ish feature, and is utilized by adding something to 
>/etc/issue on att'ish systems.  This feature is not supported in *BSD,
>but you can get the same effect by utilizing the banner process option
>under the tcp_wrapper package.  Or, I suppose, you could write a small
>wrapper script (perl or awk comes to mind) around login and have it print
>out a banner before executing login.
>
>It would be easiest to use tcpd, plus you get tcpip logging and access
>control with the deal as well.

Why not just use the "lm" field of gettytab(5)?

--alan
-- 
Alan Lundin <aflundi@sandia.gov>