vsftpd config
hi all.
I'm trying to use my root account for the ftp. Now, he can connect but when i come in the map "home" its empty (in the ftp) but he can't get the information. whats wrong whit my conf vsftpd.conf: Code:
anonymous_enable=NO Legerarmy |
You realise you are giving your root password to anybody that cares to listen ?
|
No I dont give my root password
|
Quote:
|
Quote:
|
It's TERRIBLE practice, but if you absolutely must - edit the files /etc/vsftpd.ftpusers and /etc/vsftpd.user_list and remove the 'root' line from each file. Linux tried to make it hard for you to do crazy things without knowing about it.
|
make it hard?
Just 3 lines to add and it almost works:P But ok. I will creat new ftp account, But can somebody help me to config ? Need 1 user: Mitchel He must only see the "home" map and he have all the rights in the home map? What to do? I already have the map home And withs lines i have to delete in de vsftpd.conf? i get this error: Antwoord: 150 Here comes the directory listing. Antwoord: 226 Transfer done (but failed to open directory). Antwoord = Answer whats wrong? :( |
Assuming permissions on the home directory are correct, maybe SELinux is interfering with it. You'd get this error if SELinux wasn't properly configured for the service. You can check for this by disabling SELinux - edit /etc/selinux/config and set
SELINUX=disabled and reboot, see if it works then. |
Is there any hardware between you and the FTP server? Something like a router? That kind of behavior (make the connection but can't see the directory) happens frequently when the FTP client and server can use the ports for login, but can't make the connection for data. You might want to look at this to understand how FTP works, and how hardware like a router can cause problems.
|
I did:
now i got this error with starting ftpd SELINUX=disabled Starting vsftpd for vsftpd: 500 OOPS: unrecognised variable in config file: SELI NUX i got centOS system.. what to do.. oh I see, I dont have to do this in vsftpd.conf. I found the file, checking now.... He can't connect at all now.. :( Error: Connection timed out Error: Could not connect to server |
If i Disable the SELINUX i got more probles.
1. port 20 (FTP) Dosn't works 2. other ports don't work for my game servers.. So what to do? Thanks it works, forgot to turn the firewall off |
All times are GMT -5. The time now is 03:27 AM. |