LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 12-30-2003, 10:19 AM   #1
evilchild
Member
 
Registered: Sep 2003
Location: 127.0.0.1
Distribution: *bsd, solaris, gentoo
Posts: 86

Rep: Reputation: 15
telnet banner freebsd?


On freebsd is there any way to set a 3 line telnet banner, that users can see before they login?

and

On freebsd 5.1 , I keep getting messages in the terminal displaying (what looks like how long a process ran be it was killed) in the format "calcru: negitive time of -[time] usec for pid [pid number] [process]" is there any way to stop this?

thanks
 
Old 01-03-2004, 12:22 AM   #2
Alex Cavnar
Member
 
Registered: Jun 2003
Location: Nashville, TN
Distribution: FreeBSD, Slack, and DebianPPC
Posts: 60

Rep: Reputation: 15
You should be able to edit /etc/issue.net for a telnet banner.
 
Old 01-10-2004, 04:30 AM   #3
shahriar
LQ Newbie
 
Registered: Dec 2002
Posts: 18

Rep: Reputation: 0
considering I have understood your requirement, maybe you can look into this page

http://www.onlamp.com/lpt/a/2622

The extract from this page that might be helpful to you is
----------------
You've probably noticed when you log in to your FreeBSD system that your login prompt reminds you that you are running FreeBSD. And that after you log in, you receive the FreeBSD copyright information, which is followed by the version of FreeBSD and the name of your kernel, and finally, a useful (but rather boring) motd which again reminds you that you are running FreeBSD. You probably already know what version of FreeBSD you are running and might not want to share that information with the rest of the world. And the motd is a good place to remind the rest of the world that they shouldn't be messing with your system anyways.

You can edit /etc/motd to say whatever suits your purposes, be it anything from your favorite sci-fi excerpt to all the nasty things that will happen to someone if they continue to try to log in to your system.

Next, to remove the copyright info:

touch /etc/COPYRIGHT
Then to change the text that appears at the login prompt, edit /etc/gettytab. Find the line in the default:\ section that starts with

:cb:ce:ck:lc
Carefully, change the text between \r\n\ \r\n\r\nr\n: to whatever text you wish to appear. Double-check that you have the right amount of \rs and \ns and save your change. For example, my login prompt looks like this:

I'm a node in cyberspace. Who are you?
login:
You can test your changes by going to another terminal and logging in.
-----------------------

all the best.
 
  


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
openssh banner displayed with telnet bob66 Linux - Networking 2 03-12-2005 03:58 PM
printing during a telnet session in freebsd jedimastermopar *BSD 5 08-06-2004 11:55 AM
banner message before telnet login digitalgravy Linux - Newbie 3 12-19-2003 02:31 PM
FreeBSD telnet, ssh problem newpenguin *BSD 6 11-15-2003 07:50 PM
telnet - banner but no login? polo76 Linux - General 2 06-23-2003 09:30 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 06:27 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration