Accessing my telnet system and editing /etc/fstab
1) I configured my system(Fedora-5) as telnet server.This was done by editing
the file ekrb5-telnet in xinetd.d as follows.I changed the last option of disable from yes to no..: cat /etc/xinetd.d/ekrb5-telnet # default: off # description: The kerberized telnet server accepts only telnet sessions, \ # which use Kerberos 5 authentication and encryption. service telnet { flags = REUSE socket_type = stream wait = no user = root server = /usr/kerberos/sbin/telnetd server_args = -e log_on_failure += USERID disable = no } After this i configured my firewall to access my system thro' telnet .But whenever i tried to connect to my system from another system i got the following message: Trying 192.168.32.5... telnet: connect to address 192.168.32.5: Connection refused But i was able to connect to my system using ssh from another system... what's wrong?? 2) What's the meaning of each entry in a single line found as follows in /etc/fsab: /dev/sda1 /mnt/usbpen auto noauto,user,rw,exec 0 0 what does noauto and auto mean?what's rw exec 0 0??? Please help... Thanks in advance.. Gejoe Daniel |
1st other ports are used by telnet and ssh you will have to take a look at your Firewall config.
2nd the fstab... what does all this gibberish mean? As you see, every line (or row) contains the information of one device or partition. The first column contains the device name, the second one its mount point, third its filesystem type, fourth the mount options, fifth (a number) dump options, and sixth (another number) filesystem check options. auto , this isn't a filesystem type :-) The option "auto" simply means that the filesystem type is detected automatically. And with noauto, the device can be mounted only explicitly rw Mount the filesystem read-write, also note the exec option. It's especially useful if you'd like to be able to execute something from the device. regards |
Why do you want telnet?
Telnet is a legacy protocol, that is extremely insecure. All data is transmitted in plain text, including passwords. SSH can be viewed as a replacement for telnet, and is secure because all data is encrypted, so your data can not be intercepted by a 3rd party. SSH also has some other useful features, such as access to your files through SFTP and SCP. Having said that, is the telnet daemon running? Try "ps aux | grep telnet" to make sure. Also, can you telnet to your own machine? Try "telnet localhost" to try. --Ian |
thanks for the info about fstab file...
what about the telnet then..i understood about ssh and telnet now..i just wanted to test telnet as it's still available with the distro..just tht only...let me give additional information... To find whether any process(daemon) is running for telnet : [root@cool ~]# ps aux |grep telnet root 2558 0.0 0.1 3912 680 pts/1 S+ 08:26 0:00 grep telnet [root@cool ~]# ps -aux |grep telnet Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.6/FAQ root 2561 0.0 0.1 3916 716 pts/1 S+ 08:26 0:00 grep telnet I tried to telnet my system itself using my ip address available: [root@cool ~]# telnet 192.168.32.5 Trying 192.168.32.5... telnet: connect to address 192.168.32.5: Connection refused telnet: Unable to connect to remote host: Connection refused |
From this line:
Quote:
You will find that there is no difference between using telnet and SSH, accept that SSH is more secure. --Ian |
All times are GMT -5. The time now is 11:43 PM. |