The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Red Hat
.
google unix.com



Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Can't login root account due to can't find root shell neikel AIX 2 01-30-2008 11:07 PM
How to reactivate expired account in Linux as a root user cy163 UNIX for Dummies Questions & Answers 2 05-14-2007 08:46 AM
Root account is expired mallesh UNIX for Advanced & Expert Users 2 06-22-2005 10:46 AM
cannot telnet HP-UX with NIS account xiawj HP-UX 2 06-16-2005 03:39 AM
Renaming of root account RajaRC SUN Solaris 2 08-30-2004 09:12 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-23-2006
bong02 bong02 is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 7
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 (permalink)  
Old 06-24-2006
jaryer jaryer is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 2
you need install ftp software.
you need open 21 and 23 port..
  #3 (permalink)  
Old 06-26-2006
saini_mw saini_mw is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 6
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 (permalink)  
Old 07-20-2006
gautamatul82 gautamatul82 is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 16
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
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:52 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0