Hi,
I created several domains for several customers and also ftp users for those domains but somehow none of them are able to login except root user.
Is there any one who can tell me what exactly I need to do to solve this problem?
Thanx in advance
Hi,
I created several domains for several customers and also ftp users for those domains but somehow none of them are able to login except root user.
Is there any one who can tell me what exactly I need to do to solve this problem?
Thanx in advance
Reseller-Package or vServer?
Are you using confixx oder froxlor or whatever?
Hi,
It is vServer , froxlor.
Is there any one who can give me some ideas to solve the problem ?
I would like to help you, but I have no clue how froxlor works. There can be a bunch of different issues. Did you try to restart the ftp server manually?
Hi, I did restart proftp manually but nothing changed. In froxlor there is only one thing which is related with ftp and it is the creation of ftp user for the customer. There is nothing else about ftp in any part of it. I looked into all pages in froxlor and couldnt find out any other place.
It shows that I have 1 ftp users for that customer, but when I try to connect with winscp to that domain's ftp server it always pops up the password field and says access denied. I reseted the password hundred times but this also didnt work.
I m trying to find it out on net but I did not see any thing similar yet.
Thanx anyway. Hope I can find a solution.
Check your permission in /var/customers/web. it should be owned by the customers username (e.g. web1:web1).
cd /var/customers/web/username
ls -l | awk '{print $3}'
you can change whole directory permissions by using chown and -R for recursive.
chown -R web1:web1 /path/to/the/directory
Hi,
I ran the commandyou wrote and what I got as result is
root
10003
I assume that 10003 is the user that I created. but its name is not 10003 actually. Can that be the problem ? If so, how can I change these kind of username, group kind of things on command line?
Thanks in advence.
you can change whole directory permissions by using chown and -R for recursive.
chown -R web1:web1 /path/to/the/directory
to change an username, you have to use
usermod -l new-name old-name
The name of the user will be changed from old-name to new-name. Nothing else is changed. (NOT RECOMMENDED)
Hi,
I tried to change that 10003 number with the name of my user but it said there is not such user called 10003 . That can be the group name of that user ?
RayMD: Froxlor legt keine Benutzer an, die verwendeten ids existieren nicht.
cantek: Maybe proftpd isn't configured correctly to use MySQL. You can check if there is a file "/etc/proftpd/sql.conf". This file should contain "SQLConnectInfo" with MySQL username and password to connect to the Froxlor-Database.
If something looks to be wrong, log into Froxlor with admin-account, goto Server -> Configuration. Choose your distribution, then "FTP-Server" and "ProFTPd". On hitting "Next" you get to some instructions how to configure ProFTPd correctly (Froxlor doesn't do this automaticly, you have to follow the instructions).
Hi,
I did that already this morning and there were no difference between the cırrent config fiels and the ones that froxlor suggested me to put in.
Now I checked the users that I created from froxlor and I saw that they are not created ctually, So I created them from console and set their home directory as the customers directory. Now I can connect with that user info but this user can also go back to the root folder. Now the questions is how can I restrict this user within the home directory only?
Thanks in advence
It isn't intended to create a user on the system. The FTP should only use the Virtual users from the mysql-table.
Have you replaced the placeholder "MYSQL_PASSWORD" in /etc/proftpd/sql.conf.
Please check /var/log/proftpd/proftpd.log and paste some lines of your tries (without the created unix-user).
Hi,
I didnt replace anything in those conf files.
this are the lines from log
Jun 20 18:37:03 circass.com proftpd[30311] circass.com (125.121.212.54[125.121.212.54]): FTP session opened.
Jun 20 18:37:04 circass.com proftpd[30311] circass.com (125.121.212.54[125.121.212.54]): USER watchmoviedb: no such user found from 125.121.212.54 [125.121.212.54] to 46.38.240.106:21
Jun 20 18:37:04 circass.com proftpd[30311] circass.com (125.121.212.54[125.121.212.54]): FTP session closed.
Jun 21 00:57:22 circass.com proftpd[10723] circass.com (200-98-146-241.clouduol.com.br[200.98.146.241]): FTP session opened.
The weird part is I didnt try to login with watchmoviedb names user at all.
"USER watchmoviedb: no such user found from" the user name is cantek but the domain name is watchmoviedb.com
Please add "DebugLevel 20" to proftpd.conf, restart server, try to connect again, and paste log-messages. (If it is a huge log, use nopaste or such)
Hi, I added DebugLevel 20 into the proftp.conf but when I tried to restart it it gave me that error. Wrong debug level.
Sorry, 10 is the maximum, so try DebugLevel 10
I put DebugLevel 10 in conf and restarted everything, tried to connect with one of the ftp users I created before but there is no new line in the log file.
Sorry, no idea then. Thats to hard to investigate without access to the system.