Bug 196376 - Kerberized telnetd should default to /etc/issue.net as banner
Summary: Kerberized telnetd should default to /etc/issue.net as banner
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: krb5   
(Show other bugs)
Version: 4.0
Hardware: All
OS: Linux
Target Milestone: ---
: ---
Assignee: Nalin Dahyabhai
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2006-06-22 20:09 UTC by Robert Moser II
Modified: 2012-06-20 13:33 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-06-20 13:33:42 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Robert Moser II 2006-06-22 20:09:59 UTC
Description of problem:
/usr/sbin/in.telnetd uses /etc/issue.net as its default banner, making it easy
to change, should a custom banner be needed/desired.

/usr/kerberos/sbin/telnetd on the other hand uses a default of the hostname +
version info + the terminal name.

Getting them to display the same thing by default would be good, and
/etc/issue.net would be preferred over the kerberized default.

Version-Release number of selected component (if applicable): N/A

How reproducible: Always

Steps to Reproduce:
1. Set /etc/issue.net to something recognizable
2. Use /usr/kerberos/sbin/telnetd as the server for telnet service
3. Connect to system with telnet
4. Change telnet service to use /usr/sbin/in.telnetd as the server
5. Connect to system with telnet

Actual results: Different login banners are displayed

Expected results: The same login banner is displayed

Additional info:

Multiple resolutions are possible.  

Currently there is code within telnetd.c which checks the default entry in
something (unsure if this is termcap or gettytab) for the 'im' characteristic,
and uses that if present for the banner.  The BSDs have extended this to also
look for the 'if' characteristic, which is a file to use for the banner, and
which defaults to /etc/issue.

Alternatively, the %i handling code could be taken from the netkit version of
utility.c (in the putf function), and the default IM prepended with %%i.

Comment 1 Jiri Pallich 2012-06-20 13:33:42 UTC
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life. 
Please See https://access.redhat.com/support/policy/updates/errata/

If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.

Note You need to log in before you can comment on or make changes to this bug.