LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Help a Newb.. allowing root to telnet and ftp in. (https://www.linuxquestions.org/questions/linux-general-1/help-a-newb-allowing-root-to-telnet-and-ftp-in-41266/)

shanebuss 01-13-2003 12:00 AM

Help a Newb.. allowing root to telnet and ftp in.
 
Hey guys I'm fairly new to linux. I just moved to RH 8.0.

Anyway, how do i set ftp up where root can ftp in? I understnad this is a security risk but its just on my lan for testing....

What about telnet? right now i have to telnet in as another user and then type "su root"..


I like RH 8 but WHY IN THE HELL did they get rid of pico... !! i hate vi. linuxconf is gone as well.

I will soon be upgrading my Windows 2000 Counter-strike server to linux because i am hoping to be able to host more clients with the same amount of ram/cpu.. 12.156.5.40 if there are any cs players out there..

The only downside to linux is it's not nearly as easy to configure everything, but such is life.

Thanks,
Shane

hatrisc 01-13-2003 12:06 AM

if vi isn't your bubble try emacs.

you shouldn't use telnet or ftp. instead try using sshd, which allows secure ftp access using sftp and secure remote sessions. it also will allow you to login as root.

MasterC 01-13-2003 12:21 AM

BTW, install Pine and you've got pico back ;)

Cool

lhiggins 01-13-2003 04:32 AM

Nice peice of info on pine. Thanks. I noticed they took it out of Mandrake 9. I wonder if the same solution works.

For all you guys who have experienced mandrake 9.0 - is it just me or is the installer buggy. It has errors copying packages over. I bought the cds and d/l it. The same thing happens on both. Even on different machines. Is it a driver problem?

Should I just go back to redhat 8.0?

MasterC 01-13-2003 07:27 AM

Defintely a big fat NO. I wouldn't give up Mandy for RH if someone paid me to. :D

Yeah, Pine is the program containing pico, so it will work with any distro.

I've ran into 2 or 3 errors during the install, but they weren't essential, so after the install I'd just go and plug em in, and they worked fine. This was with the download version, the PowerPack gave me no errors.

If you can get through the install, and your system will boot, then I'd not worry too much about errors. If you are missing packages you desire after the install, just use Mandrakes Package Manager to install them, or urpmi, or in a pinch, straight up RPM.

:)

Cool

shanebuss 01-13-2003 07:37 AM

hey guys thanks for the info.... pine isnt included in RH 8.0 is it?


I would still like to know how to start the telnet service.. when i try to telnet into it it says the connection was actively refused.

I looked for a inet.conf in the /etc directory but there isnt one in RH 8.

:-(

lhiggins 01-13-2003 07:48 AM

Thanks heaps for the info mate :D

trickykid 01-13-2003 08:18 AM

Quote:

Originally posted by shanebuss
I would still like to know how to start the telnet service.. when i try to telnet into it it says the connection was actively refused.

I looked for a inet.conf in the /etc directory but there isnt one in RH 8.

It is xinetd now since like Redhat 7.0 I think.

shanebuss 01-13-2003 08:38 AM

i looked at the /etc/xinetd.conf, but there was hardly anything in there...

there must be something else?

hatrisc 01-13-2003 11:45 AM

/sbin/setup is there something about running telnet there?

nxny 01-13-2003 01:55 PM

Quote:

Originally posted by shanebuss
i looked at the /etc/xinetd.conf, but there was hardly anything in there...

there must be something else?

check under
/etc/xinetd.d/

charlie123 01-13-2003 02:08 PM

hi, im trying to do the same thing, i want to access my linux box remotely from a windows box, so i downloaded a program called PuTTy which is a windows ssh program. i have the ssh server running, and i changed my /etc/hosts.allow and /etc/hosts.deny to accept connections from the windows box, but i still cant access. it says connection timed out. i tried pinging my linux box aswell but it timed out. i spose this is good security wise, but i would really like to be able to access my computer remotely.
is there any other settings i need to change to allow remote connections to ssh?
thanks :)

CHarlie
:newbie:

nxny 01-13-2003 02:23 PM

If the windows box cant ping the linux box one or more of the following conditions might be causing it.

1) No route to host. ( the linux box is not on the network at all )
2) In case you're using ping <linuxboxname> instead of ping <ipaddress> , there's no nameserver or c:\winnt\system32\drivers\etc\hosts file to resolve the address
3) There is a tcp route to the box, but you have told the linux box to swallow ICMP packets so it doesn't reply to your ping.
4) The windows box is inside a network protected by a firewall that rejects ICMP packets.

But, first of all make sure the server is running by running

ps -ax | grep sshd
and
netstat -na | grep -i listen

Post the output if it is not meaningful to you.

and try ssh localhost from the linux box.

charlie123 01-13-2003 02:50 PM

cheers for reply :)

1) the linux box is on the network
2) ping <ipaddress>
3)i dont think i have?
4) firewall on windows box was enabled, turned it off, still no luck. incase it is important, in the firewall logs it blocked ICMP Unreachable messages from my linux box to my windows box.

i did ps-ax into grep and it appears sshd isnt running, even though in the Servers > Services it is ticked. (KDE) ??
also when i do netstat -na, sshd doesnt appear, but port 22 is listening, i thought port 22 was sshd?

i have now run sshd, tried again and still no luck, PuTTy tells me unknown network error.

Also ping now works, i dont know if i typed in my linux box ip wrong last time, but it works now.

when i do ssh localhost it works.

nxny 01-13-2003 03:08 PM

>1) the linux box is on the network
How do you know? Can you access it via http if the webserver is running?
>2) ping <ipaddress>
And it works now. Good!!
>3)i dont think i have?
If you had, then ping wouldnt work
>4) firewall on windows box was enabled, turned it off, still no luck. incase it is important, in the firewall logs it blocked ICMP Unreachable messages from my linux box to my windows box.

>i did ps-ax into grep and it appears sshd isnt running, even though in the Servers > Services it is ticked. (KDE) ??
also when i do netstat -na, sshd doesnt appear, but port 22 is listening, i thought port 22 was sshd?

Looks like you're using xinetd. It must be running.
do a cat /etc/xinetd.d/* | grep -H 22

check to see if /etc/rc.d/init.d/sshd exists. I thought Redhat 8.0 came with sshd configured standalone.


All times are GMT -5. The time now is 06:23 AM.