NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Dewdman42
May 20, 2012Virtuoso
Help getting pureftpd working
I have recently purchased and installed Who Care's pureftpd addon. I went into the virtual user manager and created a virtual user, assigned it to one of the NAS uid's, which I guess influences what the owner of uploaded files will be. I chrooted the virtual user into a folder, etc. and saved.
When I try to connect to the ftp server with an ftp client, the banner comes up, but after the password I get:
I've tried to redo the password a dozen times, cannot figure out why it won't login. Does anyone have any idea what I might be missing?
When I try to connect to the ftp server with an ftp client, the banner comes up, but after the password I get:
Response: 530 Sorry, but I can't trust you
Error: Critical error
Error: Could not connect to server
I've tried to redo the password a dozen times, cannot figure out why it won't login. Does anyone have any idea what I might be missing?
12 Replies
Replies have been turned off for this discussion
- Dewdman42Virtuoso(bump)
- WhoCares_MentorYou're trying to connect with a user ID that's not in the trusted range.
-Stefan - Dewdman42Virtuosotrusted range is uid over 1000?
- Dewdman42Virtuosobut I guess I don't understand because I was trying to use a virtual user. So you're saying that each of my virtual users needs to have an effective uid assigned to it that is over 1000?
- WhoCares_MentorCorrect. Every other user account would be a system account like root, ftp or whatever else and thus they're not allowed to be used for FTP access by default. Of course you could always change the PureFTPd config.
-Stefan - Dewdman42VirtuosoI've been reading up on pureftpd, but its a complex beast. I see it has a lot of power, but I don't really want to get too complicated, just want a couple of virtual users that I can chroot into their own folder. I'm fine if they all share the same underlying UID/GID for files they might upload or files they are allowed to read, etc.
I think I tried setting the UID to nobody, which is way over 1000, still didnt' work, but I will try creating a dedicated proxy UID just for pureftpd use, with gid over 1000 and see what happens. - WhoCares_MentorYes, for that scenario using a dedicated account would be the best solution I'd say.
-Stefan - Dewdman42VirtuosoThat did it. thanks!
Now I have to figure out what to do about the fact that OSX likes to create the main user with UID 501 for some reason, so all kinds of files are permissioned that way, etc... which means its not easy for me to use NFS between OSX and ReadyNAS due to the fact that my ReadyNAS uid needs to be over 1000. (sigh) - WhoCares_MentorInterestingly I never felt the need to use NFS on my Macs to connect to the ReadyNAS. Any special application you want/need to use NFS for? As for the ID issue: I found some things Apple did to the Mac OS to be rather inconvenient, especially when it comes to stuff like automounting and the like. As for your problem: did't actually try it but the NFS server on the ReadyNAS should be able to support UID/GID mappings. They would most likely need to be configured on the command line but should solve your problem quite nicely.
-Stefan - Dewdman42VirtuosoI'm learning a lot from you!
I didn't even know it was possible to do that with NFS, but I will look into that, as I'd rather not mess with the default UID on OSX.
I'm not sure whether I want or need to use NFS or not. I initially thought it might be faster than AFP and SMB. Today I posted a benchmark on the performance forum that I did last night. NFS out performed AFP and SMB for most things, but badly under performed for 4k block reads and writes. I know NFS might be tunable for this. Or maybe AFP is fine.
I agree OSX's automount stuff is jacked up. I recently tried to do an automount using the /net feature, but now for the life of me I can't figure out how to get rid of it.
Related Content
- Jan 17, 2024Retired_Member
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!