Forum Home
Press F1
 
Thread ID: 46362 2004-06-21 07:05:00 Fedora C1 Telnet Server Setup Growly (6) Press F1
Post ID Timestamp Content User
246540 2004-06-21 07:05:00 Hi there, after much searching google, I managed to find and install the telnet server that should otherwise come preinstalled with my fedora .

Two things:

1) I know it's running, but I can't log in under root . My password is the one I use for the GUI, and it doesn't work .

I know you have to change the telnet file in /etc/xinetd . d , but I don't think I need to, it already looks like this:

# default: on
# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication .
service telnet
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in . telnetd
log_on_failure += USERID
}

The line in bold is what I was told to change to no, which it already was .

Anything else that could be stopping me logging in as root?

2) When logged in as the other users (being able to do so proves the connection), I cannot ls . What do I change for this?

Thanks . . .
Growly (6)
246541 2004-06-21 11:47:00 you can only login as root on the box.

if you telnet in you cant login as root, this is a security thing.

login as your normal user and the SU up to root.
robsonde (120)
246542 2004-06-22 03:11:00 When logged in, do echo $PATH . That will tell you the default path which allows you to give commands without the path . (If that doesn't work, do /bin/echo $PATH) :D .

They might be trying to discourage users from using telnet, by making it difficult . It's fine to use it on your own local network, but its a very bad idea to connect a machine running a telnet server to the Internet .

If you are going to use that machine as a firewall, it would be best to change that file so it has "disable = yes" . The service telnet start command should work now you have the server, so you can start it only when you need it and reboot or "service telnet stop" before you expose it .
Graham L (2)
246543 2004-06-22 08:12:00 Oh, thanks.

Yeah i was reading and they said that you could actually change it - I
ll it give that a go.

This computer isn't connected to the internet, it's behind a firewall and will not be on alot.
Growly (6)
246544 2004-06-22 08:18:00 OK graham, I did the echo thing, but I wasnt quite clear how i was intended to use that . . .

Was i meant to go to one of those directory and service telnet start /stop?

Untill then, I'm still having trouble lsing .
Growly (6)
246545 2004-06-22 08:29:00 Ok the ls thing is sorted...

But how do I stop Segmentation Faults?
Growly (6)
246546 2004-06-22 08:36:00 sig faults are a "feature" of Linux ;) mark.p (383)
246547 2004-06-22 10:05:00 You mean I can do nothing but cry about it? Growly (6)
246548 2004-06-22 10:43:00 > You mean I can do nothing but cry about it?

Yes, you can investigate why your app is segfaulting. :)
Jen C (20)
246549 2004-06-22 11:33:00 There should also be a built in SSH server which is secure, as opposed to Telnet which is very vulnerable.

Quite a bit to learn about that sort of thing, heaps on Google etc though. One of the first things to do would be to make sure you've diabled Telnet/SSH connections from outside your network to prevent anyone wandering by on the net from having a look, unlikely though it may be.

Web-Min is an excellent package, dunno how Fedora does package management, but WebMin gives a nice easy to use browser based GUI for editing much of the core configuration - made my life a lot easier.
whiskeytangofoxtrot (438)
1 2