LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-08-2004, 03:57 PM   #1
lgldsr
LQ Newbie
 
Registered: Aug 2004
Posts: 5

Rep: Reputation: 0
Login As Root


Greetings!

I have just begun using Fedora Core (2.0) and need to be able to login as Root from time to time via FTP. Yet all attempts to do so have failed. E.g., permission denied.

I am able to login under my own User ID and navigate at will.

But I am curious though...what is involved in setting up so as to be able to login as Root through FTP?

Many thanks!
 
Old 08-08-2004, 04:03 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
root login via ftp is disabled by default because you'd be transmitting your root password in clear text for anybody to see... in other words, it's an easy way to get OWNED...
 
Old 08-08-2004, 04:27 PM   #3
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
Don't!

I remember a story from those happy times I worked as a linux admin.
My boss found out that a colleague of mine used root to login to our web server via ftp. He nearly fired him for being so stupid and me for allowing root to login via ftp.
Now I lough on it but then.. You can imagine.

Either user non-root for ftp or use scp (yes, you can use root with scp/ssh).

R.
 
Old 08-08-2004, 06:21 PM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
also sftp is good...
 
Old 08-09-2004, 12:35 PM   #5
lgldsr
LQ Newbie
 
Registered: Aug 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Login As Root

Ah! I should have remembered. Yes, you cannot FTP in but you can via SFTP and/or SSH.

Thanks!
 
Old 08-09-2004, 01:59 PM   #6
mikedeatworld
Member
 
Registered: Nov 2003
Location: Farmington Michigan
Distribution: UBUNTU - Slackware - SuSE 9.1 - Knoppix - Fedora
Posts: 828

Rep: Reputation: 30
is it safe to login as root over ssh?

 
Old 08-09-2004, 03:54 PM   #7
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally posted by mikedeatworld
is it safe to login as root over ssh?
yes, as the password is encrypted... but you should still disable the option of root login via ssh for additional security...

when root login via ssh is disabled, you can still become root by using "su" once you log-in to your regular account ...

it's an additional layer of security... even if an attacker actually guesses your correct root password, he'll still get a "permission denied" error just like if the password was wrong... and sshd won't let him know that it's actually denying the login, it'll look to him exactly as if the password was wrong...

if you wanna do this, then the file to edit is /etc/ssh/sshd_config

just make sure you have this option set:

PermitRootLogin no

good luck...
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to login as user; can login as root. rksanders Debian 24 02-09-2011 08:01 AM
wrong login shell prevent root login cefs99 Linux - Security 4 05-31-2006 08:28 AM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 11:39 AM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-05-2004 11:40 PM
root login incorrect ,then passwd root,but error sunnycn Linux - Security 6 05-20-2002 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration