LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-24-2001, 05:04 PM   #1
george3k
LQ Newbie
 
Registered: Jun 2001
Location: IL
Distribution: Red Hat Linux 7.1
Posts: 21

Rep: Reputation: 15
FTPing


I am trying to FTP into my server as root, but it won't let me. Do I have to set something up specially, or isn't it permitted due to security reasons.
 
Old 07-24-2001, 11:08 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
No but you can ssh using root
 
Old 07-25-2001, 07:22 AM   #3
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
FTP is normally disabled for root. If you want to enable it have a look at /etc/ftpusers and remove the line that mentions root. Keep in mind that if you FTP over an untrusted network (like the internet) then you'll be exposing your root password for people to sniff.

HTH

Jamie...
 
Old 07-25-2001, 08:20 AM   #4
funkup
LQ Newbie
 
Registered: Jul 2001
Location: lancashire, uk
Distribution: mdk 8, seawolf, openbsd.
Posts: 29

Rep: Reputation: 15
its bad practice to ftp using root anyway with all the security issues involved

if you dont have one, create a user account, use that to ftp then shift the files as necessary on the destination box using a telnet or ssh session then su to root on that box.

as earlier posts state it is possible but not advisable
 
Old 07-25-2001, 08:29 AM   #5
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Quote:
Originally posted by funkup
if you dont have one, create a user account, use that to ftp then shift the files as necessary on the destination box using a telnet or ssh session then su to root on that box.
FTPing as a (normal) user then using telnet as root (using su or not using su) would still expose your password as much as a straight FTP as root! Stick with the ssh option, as then you can use the ssh replacement for ftp too

Cheers

Jamie...
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help FTPing and Moving files. Xanith Programming 6 05-04-2004 09:59 AM
FTPing /TELNET from winXP into Redhat9 hamster Linux - Networking 2 05-23-2003 04:25 PM
Will FTPing a .gz to Win2K ruin it? ronald_fancher Linux - General 1 07-14-2002 09:38 PM
FTPing Rubicone Linux - Newbie 0 04-22-2002 09:12 PM
FTPing to an SMB share? bripage Linux - Networking 10 01-30-2002 10:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:19 AM.

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