Solved

uploading site files with my favorite ftp software

Posted on 2004-09-25
4
231 Views
Last Modified: 2010-03-18
I Have Linux redhat 9.0

i'd like to use my favorite ftp software
to upload & set permissions.

ftp error message:
invalid password for
user root.

How & what do i configure?

Thanks
0
Comment
Question by:brokencage
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 15

Accepted Solution

by:
scampgb earned 250 total points
ID: 12150039
Hi brokencage,

As a simple rule "don't do it!".

By default, the root account isn't allowed to log in to FTP for security reasons.  A better solution would be to use another account to transfer the files, and then use the root account to put them in the right place.

However, if you're just deploying the machine isn't not that much of an issue.  I suggest that you change it back afterwards.

How you do this will depend on the exacly FTP daemon you're running.
Most of them will look in /etc/ftpusers
That file contains a list of accounts that aren't allowed to log in.

If you're using VSFTP, then it's /etc/vsftpd.ftpusers
If you're using ProFTPd, then read the instructions at http://www.linuxquestions.org/questions/archive/4/2004/04/3/171797 :-)

If you're using anything else, let us know and I'll try to dig out the details.

The article http://www.linuxgazette.com/local/remap.php?link=issue35/tag/ftproot.html might also be of interest.

Any help?
0
 
LVL 51

Assisted Solution

by:ahoffmann
ahoffmann earned 250 total points
ID: 12154066
> invalid password for user root.
> How & what do i configure?
you don't need to configure anything, just provide the correct password.

(see comments from scampgb also)
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question