Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Redhat / Fedora Linux Help
Reload this Page Accessing my telnet system and editing /etc/fstab
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Redhat / Fedora Linux Help Help and discussion related to Redhat and Fedora Linux.

Reply
 
Thread Tools Display Modes
Old 08-24-2006   #1 (permalink)
GEJOE DANIEL
Just Joined!
 
Join Date: Aug 2005
Location: India
Posts: 60
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
GEJOE DANIEL is offline   Reply With Quote
Old 08-24-2006   #2 (permalink)
jan1024188
Linux Guru
 
jan1024188's Avatar
 
Join Date: Jul 2006
Location: EU, SLOVENIA
Posts: 1,545
Send a message via MSN to jan1024188
hi GEJOE DANIEL
Quote:
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
do you have any external drive,stick key or usb pen?

that line takes care that device is mounts when you boot into linux
__________________
My personal website:
http://www.jan1024188.com
jan1024188 is offline   Reply With Quote
Old 08-24-2006   #3 (permalink)
rcgreen
Linux Enthusiast
 
rcgreen's Avatar
 
Join Date: May 2006
Location: the hills
Posts: 527
Send a message via Yahoo to rcgreen
The first auto means it autodetects the filesystem
on the device. The noauto is part of the mount
options, meaning that it doesn't mount at boot time
but must be done explicitly.

http://www.die.net/doc/linux/man/man5/fstab.5.html
rcgreen is offline   Reply With Quote
Old 08-26-2006   #4 (permalink)
GEJOE DANIEL
Just Joined!
 
Join Date: Aug 2005
Location: India
Posts: 60
thanks for the info about fstab file...
what about the telnet then...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
GEJOE DANIEL is offline   Reply With Quote
Old 08-26-2006   #5 (permalink)
Skiboy
Linux User
 
Join Date: Aug 2006
Location: Croydon, PA
Posts: 392
Send a message via AIM to Skiboy
Make sure you turned on telnet in 'chkconfig --list'.
Command: 'chkconfig telnet on'
Skiboy is offline   Reply With Quote
Old 08-27-2006   #6 (permalink)
GEJOE DANIEL
Just Joined!
 
Join Date: Aug 2005
Location: India
Posts: 60
[root@cool ~]# chkconfig telnet on
error reading information on service telnet: No such file or directory

whats wrong??
GEJOE DANIEL is offline   Reply With Quote
Old 08-27-2006   #7 (permalink)
Skiboy
Linux User
 
Join Date: Aug 2006
Location: Croydon, PA
Posts: 392
Send a message via AIM to Skiboy
Chec to make sure you have Telnet installed:
rpm -qa|grep telnet

You should get some thing like this:
rpm -qa|grep telnet
telnet-server-0.17-31.EL4.3
telnet-0.17-31.EL4.3

The fisrt one is your telnet server and the second one is the telnet service, you need this one installed to telnet to the server. Now I run RHEL 4 so the version may be differnet from your Fedora.

Also when you run chkconfig --list, you should see this in there for tenet:

xinetd based services:
rsh: off
eklogin: off
swat: off
chargen-udp: off
time: off
finger: off
time-udp: off
daytime-udp: off
cups-lpd: off
telnet: on
etc, etc ...

Good Luck,
Ski
Skiboy is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 07:59 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0