telnet & ftp in linux AS4 with root account

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat telnet & ftp in linux AS4 with root account
# 1  
Old 06-23-2006
telnet & ftp in linux AS4 with root account

hi,
i installed linux as4, i need telnet and ftp with root account. anybody show me how to configure.

TIA,

Bong
# 2  
Old 06-24-2006
you need install ftp software.
you need open 21 and 23 port..
# 3  
Old 06-26-2006
U should not configure telnet and ftp for root account as it is not good for security & by default RedHat will not allow you to do the same things, ya if you want to use telnet for root account you will need to edit /etc/securtty file. But best way is to use ssh for remote administration tasks as it will also allows you to log in as root and is much more secured then telnet.

Regards

Harinder Singh
# 4  
Old 07-20-2006
Hi,

As in the previous reply, we should not use FTP and TELNET as they are not that much secure rather you can use SSH that will allow you to log in to the machine and will also let you have the functionality of FTP with the implementation of SFTP which is already there into it.

Regarding that, you can try and use the steps given below ---

1) You can have TCP Wrappers for which you need to edit the /etc/hosts.allow file and append the IPs to which you want to give access. The format should be ---

<service> : <IP Address> : <allow/deny>

2) First make sure that the service SSH is running or not by using the command ---

# service sshd status

and if it is running then stop it.

3) Edit the file /etc/ssh/sshd_config

Change the parameters given below --

Port 22
Protocol 2,1
ListenAddress <IP Address>:22

PermitRootLogin yes


[This line controls the access to login to the machine as root. If you set "no" over here, then the root user will not be able to log in to the machine using SSH.]

NOTE : If you want to allow selected groups or users only, then under Authentication clause you should have the following and remember the groupnames or usernames should be separated by just a white space ---

AllowGroups <groupname....(s)>
e.g. AllowGroups sysadm wheel

AllowUsers localadmin sysadm
e.g. AllowUsers <username....(s)>

4) After editing the file, start the service by using the command --

# service sshd start

Now you should be able to use the SSH for both the purpose. Regarding sftp, you can get enough help from the man page itself.

If you need further help, do let me know.....



Cheers...

ATUL
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

RHEL 6 plain telnet & ftp servers

I am being pushed from AIX onto RHEL 6 and after our first 'chuck it on' install, I have a problem. Where is the old (okay insecure) telnet & ftp server? I know that they are probably regarded as archaic now, but the source servers do not have the SSH tools, so I've got to somehow transfer the... (4 Replies)
Discussion started by: rbatte1
4 Replies

2. Red Hat

startx by non-root user account in red hat linux kernel 2.6

How can I use the command "startx" by other user account such as "oracle" ?? I cannot startx by user account oracle ?? How to fix it ??? Any adivce ??? I use red hat linux kernel 2.6 $ startx Fatal server error: PAM authentication failed, cannot start X server. Perhaps you do... (0 Replies)
Discussion started by: chuikingman
0 Replies

3. UNIX for Advanced & Expert Users

Different root password between ftp and telnet

Hello All, I hope somebody can help me I used to work to client using solaris 2.5.1 using telnet to explore disk and ftp to archive data. There is one tester which I can connect using root password using putty but always keep rejecting me when i'm using root password using FTP. Are the... (7 Replies)
Discussion started by: sawrio
7 Replies

4. AIX

Can't login root account due to can't find root shell

Hi, yesterday, I changed root's shell in /etc/passwd, cause a mistake then I can not log in root account (can't find correct shell). I attempted to log in single-mode, however, it prompted for single-mode's password then I type root's password but still can not log in. I'm using AIX 5L version 5.2... (2 Replies)
Discussion started by: neikel
2 Replies

5. UNIX for Dummies Questions & Answers

How to reactivate expired account in Linux as a root user

I am an administrator of a Red Hat Enterprise Linux system. Now one account expired. I wonder how to reactivate the account. Thanks (2 Replies)
Discussion started by: cy163
2 Replies

6. Linux

how to configure linux AS4 as a router

Hi, anybody show me how to configure linux AS4 as a router. my linux server has 2 NICs, one connects to DSL modem (10.0.0.0/24) , and other one connects to private LAN (192.168.1.0/24). TIA Bong (2 Replies)
Discussion started by: bong02
2 Replies

7. UNIX for Advanced & Expert Users

diable telnet & ftp

Hi All, I need to stop all the services for telnet & FTP as we want our server to be more secure. Please give me some steps for jumping to SSH protocol. How can i disable telnet & ftp service on my server. (1 Reply)
Discussion started by: pradeep_desh
1 Replies

8. Linux

Linux 7.3 & Sun Solaris 8 - common account login

is it possible to have an common login account for both linux and Solaris? Having problem in logging into linux, unable to load completely. home directory residue in Solaris 8, export out. No NIS running, only NFS in place. (6 Replies)
Discussion started by: jennifer
6 Replies

9. Linux

Linux as FTP & Mail server

How do i setup my linux server to act as a internal ftp server. i have 30 machines who would want to log onto external ftp servers ( for hosting and stuff ). They would have to go through a ftp server on the network server to get outside to the internet? What program on linux would i use How... (6 Replies)
Discussion started by: perleo
6 Replies

10. UNIX for Dummies Questions & Answers

FTP/TELNET on linux, not working

I'm trying to ftp to my linux box from windows and from unix and its not working. I can telnet just fine, but ftp doesn't work. Where should I start looking? What config file is it that controls the ftp? Why does telnet work and ftp not? I'm using redhat 6.1, samba's working for browsing the... (33 Replies)
Discussion started by: kymberm
33 Replies
Login or Register to Ask a Question