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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-18-2004, 12:16 PM
|
#1
|
LQ Newbie
Registered: Oct 2004
Posts: 6
Rep:
|
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
|
|
|
10-18-2004, 02:17 PM
|
#2
|
Member
Registered: May 2004
Distribution: Gentoo, Debian, OpenBSD, NetBSD
Posts: 158
Rep:
|
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.
|
|
|
10-18-2004, 02:44 PM
|
#3
|
LQ Newbie
Registered: Oct 2004
Posts: 6
Original Poster
Rep:
|
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!
|
|
|
10-18-2004, 03:21 PM
|
#4
|
Member
Registered: May 2004
Distribution: Gentoo, Debian, OpenBSD, NetBSD
Posts: 158
Rep:
|
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.
|
|
|
10-18-2004, 04:02 PM
|
#5
|
LQ Newbie
Registered: Oct 2004
Posts: 6
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 08:22 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|