Discussion Locked

networking 2 RedHat linux machines

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi.
1)I have two linux os hooked together via a hub. What do I need to do to exchange files and directories?? I got logged in using telnet, but I could'nt seem to copy from one directory on one machine to the other directory on the other machine.2)Also, When I tried to logon using root and the password, it wouldnt let me. So finally I logon using a regular user, and password. So what gives with the root issue????
If you could help with those 2 questions, I will surely be grateful.
Thanks,,,,,,,,,,,,,P

7 replies

by mostakim

You have to edit .ftpaccess configuration file for root access, and the rest of service access configuration file like host.access/host.deny/etc. Use super user account for those task, make a shell script for your requirment like:-

#!bash
ftp ftp.yoursys.com
user sattar
pass xxxxxx
mget *

Above just the idea what I did previously

by theword

Hi. Thanks again for your suggestion. Hey I want to hookup my linux RedHat 7.0 to the internet via cable. I dont have the GUI yet cause my xfree86 needs to be upgraded, which I am doing. What would you suggest in order to get things going via the command prompt. I tried to configure my ethernet card, but still cant ping to the outside world.
Thanks again,,,,,,Pat savior24@home.com

by marshallkeithusa

First you can't telnet in as root. That is a security precaution. I would dump telnet as anyone with a sniffer can get all your passwords use ssh instead. If you must use telnet log in as a user and then su.

As far as file transfers there are several ways to go about it. FTP is the easiest to set up. You can set up samba and use samba client (this would also give you windows connectivity too) and use samba mount. Lastly you could use NFS but the setup is similar to samba you have to setup shares and then mount the remote filesystem.

Hope this helps,

Marshall

by theword

Hi. Thanks for the advice. Hey I want to hook up my linux RedHat 7.0 to the internet via cable. I dont have the GUI yet cause my xfree86 needs to be upgraded, which I am doing. What would you suggest to do in order to get things going. I tried to configure the ethernet card, but still cant ping to the net. Anything would help.
Thanks again,,,,,Pat savior24@home.com

by schannachie

Hi,

first:
To exchage directorys and files you have to set a nfs (network file system). So you must create a filesystem with mkfs command and set that filesystem will be nfs. Take a look at the man files: man mkfs (and related commands)

second:
The root user is the only user that is allowed to create filesystems and administer the system. For your security the root user is by default not allowed to telnet form remote sites (workstations) and to access the system using ftp. root conects to the system at the main console only.

third:

You can allow the remote access for telnet sesion for the root user, and for ftp access too. You have to set these access for the root user at the ftp access control list at the /etc and the same for the telnet access.

forth:

You can use secure shell (ssh) command at the man pages : man ssh (and you don't have to change root default settings).

good luck !

by theword

Hi.
Thanks for the advice. Hey I want to hookup my linux to the internet via cable. I dont have my GUI yet cause of the need to upgrade my xfree86. So what would you suggest to do in order to get things going. I have RedHat 7.0. At present I cannotping outside to the internet. I tried to configure my ethernet card, but I guess it didnt work. Thanks again,,,,,Pat savior24@home.com

This discussion is closed to new replies.