View Full Version : FTP Server Problem.
Katocan
May 4th, 2006, 10:53 AM
Ok so, I've tried setting up PureFTPd, But when I click 'Manage Users'.
A box pops up promting me to create a password file.
http://www.katocan.com/Screenshot.png
When I select 'Yes' an error comes up displaying
http://www.katocan.com/Screenshot2.png
Anyone got any idea what I could do to make it work?
Katocan
May 4th, 2006, 06:48 PM
Anyone think they could help?
hagen00
May 5th, 2006, 09:50 AM
Seems like a permission problem to me. It seems you don't have permissions to create the password file. I don't user the GUI much, but maybe you can somehow open the GUI under sudo?
I would do the configuring by going to the conf file and not through the GUI, but that's just me.
Katocan
May 5th, 2006, 11:11 AM
The file permissions are 777, so I dont think its that :(, anyone got any other advice, and thanks for the reply hagen00
hagen00
May 5th, 2006, 12:03 PM
The file permissions are 777, so I dont think its that , anyone got any other advice, and thanks for the reply hagen00
What file are you referring to. I think it's a permission problem with the FOLDER that it's trying to create the file in. My guess is that when it tries to create the password file, it doesn't have permission to write to that folder.
So instead of checking file permissions, check folder permissions, altought i have no idea in what folder the application will try to create the password file.
Katocan
May 5th, 2006, 12:20 PM
It trys to create it in /etc/
Katocan
May 5th, 2006, 12:26 PM
Hmm weird, I chmodded the files and the folder with terminal and its still got the same error :(
hagen00
May 5th, 2006, 12:33 PM
If you chowned the /etc/ folder to the right user or even made it 777, then the application should be able to create the file there...However not a good idea at all to have etc owned by someone other than root and also it should not be 777!
I would say, go into /etc and open up the ftp conf file using sudo vi. These conf files are quite easy to understand very often..It might just want you to create an allowed_users file in /etc, which you can then easily do manually. Basically, i'm saying, try not use the GUI but the terminal. I'm sure there are many HowTos that can help you out.
Katocan
May 5th, 2006, 01:00 PM
Well how would I change it from the root user?
hagen00
May 5th, 2006, 05:58 PM
Sorry Katocan, but I don't know what exactly you're asking.
I would do the following now.
1. Get your /etc folder back to how it should be
sudo chown root. /etc
sudo chmod 755 /etc
2. Find a howto on PureFTPd and if you can't find one, open up the pureftp conf file (should be in /etc) and see if you can't manually edit it or manually create the files such as allowed_users (or something like that) that it needs.
Katocan
May 5th, 2006, 05:58 PM
anyone think they could help ?
Katocan
May 5th, 2006, 05:59 PM
Sorry Katocan, but I don't know what exactly you're asking.
I would do the following now.
1. Get your /etc folder back to how it should be
sudo chown root. /etc
sudo chmod 755 /etc
2. Find a howto on PureFTPd and if you can't find one, open up the pureftp conf file (should be in /etc) and see if you can't manually edit it or manually create the files such as allowed_users (or something like that) that it needs.
Woah lol close reply.
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.