Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I got a fairly stupid telnet question, I've got a spair machine on my network, which is setup with telnet for a friend so that he can mess about with it for a bit...e.g. some linux commands etc. Anyway, i setup my router to forward port 23 traffic into my network. Theres only one thing that i would like to change though.
When i login, i see
Red Hat Linux release 7.2 (Enigma)
Kernel 2.4.7-10 on an i686
How do i change this?
There is no specific reason why i want to change this, i just feel like it
Be careful, though, I've seen RedHat 7.x overwrite both of these files on startup (I think the script responsible for this is /etc/init.d/network, if I am not mistaken)... This behavour might have been removed from 7.2 and 7.3, though...
Yes, i am fully aware of that, like i said. Its being port forwarded to a machine, that i do not use thus not bothering me. I researched into possible attacks etc. This is why the machine is only being turned on, when my friend asks.
Originally posted by KevStA In /etc/issue.net i put
welcome to my telnet server.
How can i show the ip of the person trying to connect, e.g. if i connect from one of my nodes on my network. i want it to say:
welcome to my telnet server <IP of the node that is trying to connect>
How Would i do this?
Thank you for your help and patience
Hmmmm... I think you're just stuck with the possibilities listed in the issue.net man page. For some reason http://man.linuxquestions.org/ lacks that particular man page, but here it is in all it's glory:
ISSUE.NET(5) System File Formats Manual ISSUE.NET(5)
issue.net - identification file for telnet sessions
The file /etc/issue.net is a text file which contains a message or system
identification to be printed before the login prompt of a telnet session.
It may contain various `%-char' (or, alternatively, '\-char') sequences.
The following sequences are supported by telnetd:
%l - show the current tty
- show the system node name (FQDN)
- show the name of the NIS domain
- show the current time and date
%s - show the name of the operating system
%m - show the machine (hardware) type
%r - show the operating system release
%v - show the operating system version
%% - display a single '%' character
Linux NetKit (0.17) May 22, 1994 Linux NetKit (0.17)