Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 14th June 2004, 09:35 PM
cclo123 Offline
Registered User
 
Join Date: Jun 2004
Age: 52
Posts: 19
Fedora Core 2 "root" telnet login problem

I installed FC2 in my old PC. I added "pts/0, pts/1, pts/2 and pts/3" into the file /etc/securetty. It will let me login as "root" remotely upto 4 sessions. I discovered that the 1st root login as pts/0. After I logout this session, I re-login as root. This is pts/1 session. After the 4th time login as root remotely, I can't login as root remotely. In FC2 command prompt, I type "last". It show
me that all telnet session are closed. I can login remotely with other user name but the telnet session will be pts/5. The telnet session will be add 1 and will not be changed back to pts/0 or pts/1 except reboot the system.
Does anyone face on this problem before?
Reply With Quote
  #2  
Old 18th June 2004, 05:01 PM
cclo123 Offline
Registered User
 
Join Date: Jun 2004
Age: 52
Posts: 19
Did anyone face on the same problem before?
Reply With Quote
  #3  
Old 19th June 2004, 03:15 AM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
I concluded that the pts numbers would keep increasing. Maybe you could add more, but I highly recommend you use ssh. The server should already be running on your Fedora box. ssh doesn't have the pts login problems.
Reply With Quote
  #4  
Old 2nd July 2004, 03:58 AM
Rivenskye Offline
Registered User
 
Join Date: Jul 2004
Posts: 3
I can't telnet or FTP in as root at all... I have to have a user account to do it. Is that security feature or did I set something up wrong?
Reply With Quote
  #5  
Old 2nd July 2004, 01:48 PM
cclo123 Offline
Registered User
 
Join Date: Jun 2004
Age: 52
Posts: 19
In default, root can't connect to Redhat/Fedora system.
Telnet:
Add "pts/0, pts/1, pts/2, pts/3................" to the end of the file "/etc/securetty"
FTP:
Delete the name "root" from the file "/etc/vsftpd.ftpusers"
Reply With Quote
  #6  
Old 2nd July 2004, 04:06 PM
crackers's Avatar
crackers Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Seattle, WA, USA
Age: 56
Posts: 3,423
You should never do anything as root over telnet - that is an unsecured protocol that transmits everything, including the password, as plain text. ssh is much preferred and a heckuva lot more reliable...
Reply With Quote
  #7  
Old 2nd July 2004, 07:19 PM
cclo123 Offline
Registered User
 
Join Date: Jun 2004
Age: 52
Posts: 19
TRUE

In default, root cannot telnet and ftp to the server remotely.
Reply With Quote
  #8  
Old 5th July 2004, 06:09 AM
Cr0n_J0b Offline
Registered User
 
Join Date: Jun 2004
Posts: 75
The answer would be to use ssh instead of telnet...I don't ever use telnet anymore...Putty is a great client and you can tunnel with it....It's the right thing to do.
Reply With Quote
  #9  
Old 13th November 2004, 04:28 PM
LiNuX-CrUsAdEr Offline
Registered User
 
Join Date: Nov 2004
Posts: 30
Additional Suggestions

Hi,

I agree with them that instead of using telnet as your remote login service, use SSH. That way, you'll increase the security of your system especially if it is exposed in the Internet. SSH is included in the Fedora Core 2 CD installers. Make sure to disable the telnet service after installing SSH. Also, I suggest that you do not use your root account as your initial login account when accessing your Linux box remotely. Create an ordinary user account that you can use in remote logins and then perform an su after successfully logging in. By default in SSH, initial logging in using root account is allowed however you can disable this under /etc/ssh/sshd_config file by appending the line "PermitRootLogin no". All SSH connections you make will restrict you from using root account initially.
Reply With Quote
Reply

Tags
core, fedora, login, problem, root, telnet

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"root" login missing BushRat Using Fedora 21 19th March 2009 07:50 AM
Fedora Core 9: Screen Resolution can not change from "800X600" to "1024X 768" csoftvietnam Using Fedora 7 26th August 2008 02:11 AM
Enable running of "Add/Remove Software", etc. without root login locodude Security and Privacy 1 23rd November 2006 10:22 AM
Fedora Core 4: How to make a user "root" nt7272 Using Fedora 14 26th October 2005 05:43 PM
Can't compile "checkpassword-0.90" on a "fedora core 3" system adnieman Using Fedora 1 11th September 2005 08:24 PM


Current GMT-time: 00:12 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat