Home Forums OS X Server and Client Discussion Questions and Answers proftpd, not working with inetd and mysql

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #355065
    mattias.hedman
    Participant

    So I followed tha article ProFTPd, for the pro? but I do not get it to work as described.

    First of I cannot run it with inetd. Standalone it works.

    I have a user in the mysql db but I am not able to login with that user. It only says password incorrect.

    What shall I do to get it to rock?

    #355188
    RobotDeathSquad
    Participant

    I’m having the same exact problems.

    I’ve even tried to do it in xinetd and tried to use /Users/Shared as the directory.

    #355193
    Lukas
    Participant

    I chose to use it as a standalone server, started by a startup item in /Library/StartupItems/, like Postfix and other server software I have on my 10.2.3 client.

    I had the same problem with inetd but using inetd was not my idea since the beginning.

    About the user problem there is a post a little before this. It seems there is no way to have ProFTP working without setting the user homedir world writeable. The problem is that every dir you have to open, in order to reach the specified homedir, must have the same permission. So I moved my /Library/WebServer/[size=18:2bf23880aa]www[/size:2bf23880aa]/ to the first level of my hard disk (i.e. /[size=18:2bf23880aa]www[/size:2bf23880aa]/). I made it world writeable and it works correctly. What I am not sure of is: how insecure is it now my www folder (and my web and ftp server)? I am waiting for a reply from Didde Brockman, the author of the tutorial. As soon as I hear from him, I will post again.

    Hope this helps…

    Lukas

    #355194
    mattias.hedman
    Participant

    Well. I have tried that one to. This is my ftp folder in the root directory.
    [code:1:153322079a]
    drwxr-xr-x 2 admin ftpusr 68 Feb 11 14:58 ftp
    [/code:1:153322079a]

    Is this good enough? It is world writeable…

    #355195
    Anonymous
    Participant

    I do not agree…. first of all, in my opinion, world writeable means something like drwxrwxrwx (with the W in the third position). Second, try to log in with your settng! Yes, I can login but when you try to upload something, you can’t!
    At the beginning I used your same setting, thinking to have solved the problem because of the fact I could login… but once logged in I couldn’t upload nothing.

    Try and let me know your results. Consider I am on 10.2.3 CLIENT, not server. Probably some settings work different… (I am not so expert)

    Lukas

    #355196
    Lukas
    Participant

    Sorry… not logged in… previous post was mine…

    Lukas

    #355236
    RobotDeathSquad
    Participant

    I can’t upload anything either. Very very frustrating. Also, I’m using it a standalone, AND I have make a start up item for it so it’s starting on reboot.

    #358197
    Anonymous
    Participant

    It’s making me crazy. I’m having the same problem; proftpd appears to be running, I can access the machine, but I cannot login with my mysql users, using both plaintext and backend authentication (different users, obviously…) I’ve tried using it in inetd and standalone versions, and no luck.

    I’m using 10.2.8 Server, the mysql that shipped with it, and the latest Proftpd and SQL plugin. (1.2.9 and 4.08, I think).

    Anyone have any tips? What else do you need to know before you do?

    Also, I cannot for the life of me find any logging for either proftpd or the sql plugin. The manuals are not particularly useful in this respect.

    Thanks!
    Ken

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.

Comments are closed