Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jul 1998 15:27:33 -0700
From:      Studded <Studded@dal.net>
To:        Paul Wolstenholme <wolstena@sfu.ca>
Cc:        Doug White <dwhite@resnet.uoregon.edu>, freebsd-questions@FreeBSD.ORG
Subject:   Re: telnetd /etc/issue patch
Message-ID:  <35C244D5.BE3BBC6C@dal.net>
References:  <199807311840.LAA24475@beaufort.sfu.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Paul Wolstenholme wrote:
> 
> >
> >
> > On Wed, 29 Jul 1998, Paul Wolstenholme wrote:
> >
> > > Instead of mucking with gettytab, I understand there might be a patch out
> > > there for telnetd that allows you to use the /etc/issue file to create a
> > > banner before the login prompt.
> >
> > Yes, if you look at the gettytab(5) manpage you'll find the `if'
> > capability.  Replace the `im' capability with `if' and specify /etc/issue
> > as the file and you should be off and running.
> >
> Sorry, I did read the man page but missed this entry (Honest ;) ).  I
> must be retarded because I can't get it to work.  I modified the default
> setting to:
> 
> default:\
>         :cb:ce:ck:lc:fd#1000:if=/etc/issue:sp#1200:
> 
> Created a issue file with read access to all but all I get is the login
> prompt.

	Well I know it should work because a friend and I did the patches to
telnetd, et al, and it works on my system. I assume that you are using
2.2.7 or a recent incarnation of -Stable?  If so, I think Doug White had
it right, try 'killall gettytab' (they'll restart) and if it still
doesn't work, reboot. If THAT doesn't work, something is seriously
wrong.

Doug
-- 
***           Chief Operations Officer, DALnet IRC network          ***

When you don't know where you're going, every road will take you there.
     - Yiddish Proverb

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35C244D5.BE3BBC6C>