Can't login to FTP as root?

MagnuM

Verified User
Joined
Oct 24, 2003
Messages
102
Location
Romania
Hello,

I am running Proftpd as most of you guys here, but I want to connect to FTP as root, and I can't.

I know its not a safe thing, but I want to test it anyway.

Can someone tell me what should I edit, so I can get in as root?

Thanks.
 
I even put:
RootLogin on
in /etc/proftpd.conf file, and restart Proftpd service and I still can't connect.
 
I found some information:
One uncommon obstacle that you might encounter to allowing a user to login is the possibility that that user is listed in an /etc/ftpusers file. This is another legacy check, courtesy of wu-ftpd. Any user that is listed in /etc/ftpusers is not allowed to login via FTP. A little backwards from what might be expected from the file name, I agree. proftpd was made to similarly honor any /etc/ftpusers file by default in order to ease the pain for sites migrating from wu-ftpd to proftpd. Disabling proftpd's check for this file is as simple as using the UseFtpUsers configuration directive, like so:

UseFtpUsers off

in your proftpd.conf file.
here.

Jeff
 
Actually is not working :(

I can login as root but I can't see nothing. I mean all ls or cd commands don't display me anything.
 
Do you have a firewall?

Is it blocking passive ftp connections?

Jeff
 
I do not have a firewall installed or running.

Don't know what the hell is happening.
 
There may be something hardcoded in to proftpd to keep the root user from doing anything ftp.

I don't know and I don't have the time to do the research.

Jeff
 
Back
Top