Visit Our UNIX and Linux User Community


changing the telnet banner


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers changing the telnet banner
# 8  
Old 09-15-2001
Hi, try this out.

goto /etc/default

You will find "telnetd" file(if not create it default permissions)

write this:

BANNER="Welcome to my machine or whatever"

This should help.
# 9  
Old 08-20-2002
Network telnet banner

I've read the previous posts and have followed the steps outlined in http://www.enteract.com/~lspitz/armoring.html, yet I still can see that the system is using SVR4.

I created the telnetd file in /etc/default My sole entry in the file is:
BANNER=""

Any assistance would be greatly appreciated!
# 10  
Old 08-20-2002
This might be off topic, but why not chunk telnetd all together in favor of sshd? Sending passwords across telnet is dangerous.
# 11  
Old 08-20-2002
Saluja,

What version of Solaris are you using and is it Sparc or Intel?

I created the banner after running telnet and this was what I got (on Solaris 2.6 {sparc}):

# telnet some1
Trying 10.14.1.2...
Connected to some1.
Escape character is '^]'.


SunOS 5.6


Warning ! This system is for use only by persons authorized by Inc. By accessing this system you are consenting to system
monitoring for law enforcement and other purposes. Unauthorized use of this
system may subject you to criminal prosecution and penalties.

login:


# ls -l /etc/default/tel*
-rw-r--r-- 1 root other 10 Aug 20 1:44 /etc/default/telnetd
# cat /etc/default/telnetd
BANNER=""

# telnet some1
Trying 10.14.1.2...
Connected to some1.
Escape character is '^]'.


Warning ! This system is for use only by persons authorized by Inc. By accessing this system you are consenting to system
monitoring for law enforcement and other purposes. Unauthorized use of this
system may subject you to criminal prosecution and penalties.

login: Connection closed by foreign host.
# 12  
Old 08-27-2002
Running SunOS 5.5.1 on a Sparc

As soon as I telnet to the box I get:

UNIX(r) System V Release 4.0

Not sure if I was reading your post correctly, but I tried modifying the telnetd file from my own session - didn't help. Also tried deleting the old telnetd file, rebooting system, and recreating the telnetd file - no joy here either.


Any other suggestions?
# 13  
Old 08-27-2002
The banner option is supported on Solaris 2.6 and above. There is no work around for 2.5.1 and below. You would have to live with it or upgrade.
# 14  
Old 08-27-2002
look under /usr

1st let me talk to my friend Auswipe.
Telnet is perfectly fine in a trusted network. I also work for a large company(telecom) and we have a "secure" firewall. I know what you are saying about sniffers gaining passwds over telnet, but telnet is a fairly safe way to do business in a "secure" environment.


NOW TO THE TOPIC AT HAND.

***************************
MY 2 cents... I know your question is regarding SUN, and my box is HPUX but there is another banner that is used.

/usr/localcw/opt/sysguard/banners


You might look under the directory /usr and search for a file with "banner" in the name.

The files that are under /etc are used on my box only for the bootup screens: namely /etc/issue and /etc/copyright.


Hope this helps even though it is HP and not SUN.

Smilie Smilie
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #763
Difficulty: Medium
L4 caches are currently very common in computer systems.
True or False?

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Difference Between Krb5-telnet And Ekrb5-telnet

Hi, I want to know the difference between these two services. Both are under xinetd. Both are used for enabling and disabling Telnet service. So, can somebody please explain me the difference between the two ? Thanks in advance :) (0 Replies)
Discussion started by: kashifsd17
0 Replies

2. UNIX for Dummies Questions & Answers

Automatically login in the telnet from present telnet

Hi, I was writing one script which includes to switch to the another telnet automatically from the present telnet server. I was using rlogin but firstly it takes the same user name of the present telnet and secondly it is prompting for the password. But i want to switch to the another telnet... (2 Replies)
Discussion started by: Prateek
2 Replies

3. HP-UX

telnet banner message before login

why I didn't set /etc/inetd.conf telnet stream tcp nowait root /usr/lbin/telnetd \ telnetd -b /etc/issue only telnet stream tcp nowait root /usr/lbin/telnetd in /etc/ineted.conf but when I telnet my HPUX machine it shows those message HP-UX hp1008 B.11.31 U ia64 (tb) login: ... (1 Reply)
Discussion started by: alert0919
1 Replies

4. Shell Programming and Scripting

Webpage to Telnet via Perl and Expect: Telnet problem?

Somewhat long story: I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage. This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
Discussion started by: jondo
1 Replies

5. UNIX for Dummies Questions & Answers

Changing picture at banner?

On my Ultra 60, when booting and at the banner screen, on the top left is a picture of a globe. On another machine (Ultra 60) its a picture of a Sun. Is this something on the graphics card, or is this picture located somewhere else and able to be changed? (0 Replies)
Discussion started by: ridgeback00
0 Replies

6. UNIX for Dummies Questions & Answers

Banner

How can I display a message to the crt whenever someone logs on? They do not see a unix prompt. I need to easily update this also. (2 Replies)
Discussion started by: Beetlejuice
2 Replies

7. UNIX for Advanced & Expert Users

Telnet Banner

I need to put a telnet banner on AIX 4.3 and 5.1 servers, so the users can see a warning message before logging into the system. I know /etc/motd will give the message after the login. Basically what I am asking is how do I tell system to read the /etc/issue file on AIX?. Thank you, in advance... (4 Replies)
Discussion started by: smohd
4 Replies

8. UNIX for Dummies Questions & Answers

Remove RH telnet Banner

I dont want the kernal info and OP type to come up to every one that logs in to my server. How do I edit the telnet banner to say something different. (1 Reply)
Discussion started by: macdonto
1 Replies

9. UNIX for Dummies Questions & Answers

Telnet banner

Hi! I have a Tru64 40f box and I am trying to figure out how the banner is displayed after login. Now the sys admin (who is now gone) has a message that is displayed for all users AFTER login. In addition to the /etc/issue and the /etc/motd files another file with a longer message is... (2 Replies)
Discussion started by: sdharmap
2 Replies

Featured Tech Videos