LinuxQuestions.org
Help answer threads with 0 replies.
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 10-18-2004, 11:16 AM   #1
burns1000
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Rep: Reputation: 0
can't ftp as root to mandrake 10


Hi,

I have just installed mandrake 10 and am trying to copy files to it via ftp (ws-ftp). However I can't login, it refuses to allow me even though I have the correct root password.

However, I can login as another user fine.

So can anyone tell me how to get this working.
I'm assuming it not allowed or activated at present.

thanks
 
Old 10-18-2004, 01:17 PM   #2
Peterius
Member
 
Registered: May 2004
Distribution: Gentoo, Debian, OpenBSD, NetBSD
Posts: 158

Rep: Reputation: 16
Sometimes there are default settings so that you can't actually login as root, you instead have to "su" the root id. Or similarly, maybe you can only use root from a console terminal, not remotely. There may be something similar to this that you're experiencing.

You should probably be using sftp anyway and you shouldn't be ftping in as root. You should do it to some other user and then if necessary login as root and copy the files over. This is probably better security anyway, I'm not sure why you would want to ftp in as root.
 
Old 10-18-2004, 01:44 PM   #3
burns1000
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Original Poster
Rep: Reputation: 0
thanks for the reply.
I want to ftp in as root so that I can copy my web site over.
I understand that maybe you shouldn't login as root over ftp, but from a purely technical point of view I suppose I am curious about what controls ftp access and I just want to understand more about how this process works.

For instance are there files which control who can log in? If so what are they and how do you amend them to allow/disallow access?

I can live with logining in as another user, but I also wanted to understand more about this Linux world I have entered!
 
Old 10-18-2004, 02:21 PM   #4
Peterius
Member
 
Registered: May 2004
Distribution: Gentoo, Debian, OpenBSD, NetBSD
Posts: 158

Rep: Reputation: 16
Well you kind of have to dig around because they're different for every distribution and every ftp server etc. You might want to try "grep -r "ftp" *" without the outer quotes inside of your /etc directory. This might come up with an ftp config file as well as lot of other junk. It would be easiest to consult the documentation for the distribution and for the ftp software to find out where these things reside. For instance it might be an sshd configuration file that has a line you can comment(#) out that reads NO_ROOT_LOGIN.
 
Old 10-18-2004, 03:02 PM   #5
burns1000
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Original Poster
Rep: Reputation: 0
OK
- You've been very helpful. I'll go away and dig a bit.
I'll come back if I turn nothing up, but thanks very much for what you've told me.
 
  


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
problem with ftp on mandrake 10.1 Official, ftp speeds system wide (anybody noticed?) equinox Mandriva 15 11-10-2004 02:07 PM
ftp + root Morg666 Linux - Security 7 04-20-2004 05:19 PM
ftp to root rixride00 Linux - Newbie 7 04-02-2004 03:05 PM
ftp using root access Santosh_d Linux - Networking 1 04-02-2004 08:07 AM
ftp as root lenlutz Red Hat 3 02-18-2004 04:08 PM

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

All times are GMT -5. The time now is 02:04 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