Real nice, thanks. gproftpd really helped me. I've been looking for something as good as bulletproof, and this is good enough for me.
Yes, it's easy to use and really powerful
Yes, but i won't use it
No, the GUI has to be improved
Real nice, thanks. gproftpd really helped me. I've been looking for something as good as bulletproof, and this is good enough for me.
Password incorrect, all the time.
I've followed the steps exactly.
Looking up localhost
Trying localhost.localdomain:1980
Connected to localhost:1980
220 you're at home
USER sauron
331 Password required for sauron.
PASS xxxx
530 Login incorrect.
Disconnecting from site localhost
Is there any way to make it so that I can let the people logging in put their name for the username, and just have a set password?
Re-create your user with the GUI if you used the command line to create it and check that the name of the directories you use for the FTP server are good in your system and in your config file, the 530 error is just a small configuration problem (wrong path names, password issues, ...). Don't forget to have a look in the hoary thread which contain a lot of support (link at the top of the first post).Originally Posted by Stormx
Last edited by frodon; February 5th, 2006 at 05:32 PM.
Great Howto....I've using it for months. I installed gproftpd about a month ago and everything was fine...good for easy admin of the server. Then, all the sudden (noticed it after installing 3ddesk, which i've since removed), gproftpd started segmentation faulting when running it as root. I can run it as a user but that does me little good -- understandandably, you cant do much as a user. I uninstalled everything, wrote a new config file, tried changing theme info for root (its caused problems before), but i cant get it to run as root again. Wierdness...anyone got any ideas? I'm stumped....
Thanks,
Mak
I get this error when I try to connect the server.
what have I done wrong?Code:- getaddrinfo 'ftp://guldkant.mine.nu' error: Name or service not known - Fatal: Bind: : unable to resolve "ftp://guldkant.mine.nu" on line 6 of '/etc/proftpd.conf'
Could you post your proftpd.conf file ?
It sounds like a domain name problem.
Frodon, I would like to add myself as an ftp user who can browse all directories. What should I do? Thanks in advance
Well, all the security of this guide is based on the FTP-shared directory because all is lock in this directory and therefore you're sure that nobody will go outside this directory.
There are different ways to do that. What i would do if i was you is to add your user or create a new one (maybe better because you will not use you user password which may be the same one than you use for sudo ... up to you).
So just add a line for your user :Create a directory under FTP-shared called my_root for exemple and give it the good rights (755 for a download only directory and 777 for a download/upload directory).Code:#VALID LOGINS <Limit LOGIN> AllowUser userftp AllowUser Your_user DenyALL </Limit>
Then add a section at the end of the file like that for a download only directory :All the ftp users will see this directory but they won't be able to list or access it.Code:<Directory /home/FTP-shared/my_root/*> Umask 022 022 AllowOverwrite off <Limit ALL> Order Allow,Deny AllowUser your_user Deny ALL </Limit> <Limit MKD STOR DELE XMKD RNEF RNTO RMD XRMD> DenyAll </Limit> </Directory>
Then all you have to do is to mount in this directory the directory or the partition you want, there's some explainations on how to do it at the end of the guide (you could add a line in fstab if you want to do it on startup).
Last edited by frodon; February 8th, 2006 at 03:36 PM.
ServerType standalone
DefaultServer on
Umask 022
ServerName "ftp://guldkant.mine.nu"
ServerIdent on "guldkant"
Bind "ftp://guldkant.mine.nu"
ServerAdmin xxxxxxx@hotmail.com
IdentLookups off
UseReverseDNS off
Port 22
PassivePorts 49152 65534
#MasqueradeAddress None
TimesGMT off
MaxInstances 30
MaxLoginAttempts 3
TimeoutLogin 300
TimeoutNoTransfer 120
TimeoutIdle 120
User oscar
Group nobody
DirFakeUser off nobody
DirFakeGroup off nobody
DefaultTransferMode binary
AllowForeignAddress on
AllowRetrieveRestart on
Bookmarks