LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-06-2004, 10:46 PM   #1
MattOlz
LQ Newbie
 
Registered: Nov 2003
Distribution: Slackware
Posts: 19

Rep: Reputation: 0
Telnet Login Prompt Config


What is the config file used to change the message displayed before and after login to my system on a telnet? Everything I have found so far just works on my one computer, it doesnt change it so everyone who tries to login see the welcome message.
 
Old 02-07-2004, 12:50 PM   #2
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
I think that's /etc/issue (or /etc/issue.net) and /etc/motd
 
Old 02-07-2004, 04:33 PM   #3
MattOlz
LQ Newbie
 
Registered: Nov 2003
Distribution: Slackware
Posts: 19

Original Poster
Rep: Reputation: 0
Here is my issue and issue.net files:

Welcome to Kazslo World.
%d
Please Login -

and my motd is blank.

No change, when telneting my server it just displays:

Telnet Server
Login:
 
Old 02-08-2004, 08:08 AM   #4
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Here is differents info, I have found about your config problem:
For telnetd, some systems have "-h" to suppress the greeting and other systems' banners come from a file called something like /etc/issue. (Note that in redhat linux, you really want to modify /etc/rc.d/rc.local rather than (or in addition to) /etc/issue*, because it regenerates /etc/issue* upon boot.)
The banner printed by in.telnetd is configurable. The default is (more or less) equivalent to "`uname -sr`" and will be used if no banner is set in /etc/default/telnetd. To set the banner, add a line of the form
BANNER="..."
to /etc/default/telnetd. Nonempty banner strings are fed to shells for evaluation. The default banner may be obtained by
BANNER="\\r\\n\\r\\n`uname -s` `uname -r`\\r\\n\\r\\n"
and no banner will be printed if /etc/default/telnetd contains
BANNER=""

Hope, this 'll help you
 
Old 02-08-2004, 08:14 AM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Unless you have a real need to use telnet I would strongly reccomend that you use ssh. You can add a message before login too. see:
man sshd_config
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
change Telnet login prompt Joshsawyer77 Linux - Newbie 4 07-01-2006 04:50 AM
login prompt - can only login as root mindfriction Linux - Newbie 6 09-03-2004 07:14 AM
telnet delays before login prompt laxu Linux - General 2 07-02-2004 01:39 AM
no login prompt in telnet bilal.shaikh Linux - Newbie 1 11-13-2003 12:02 PM
telnet connects but login prompt does not appear jhess Linux - Software 2 10-10-2003 06:05 AM


All times are GMT -5. The time now is 09:53 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration