Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Can't add FTP Accounts (AMPPS 2.1 on Mac)



Threaded Mode | Print  

 Can't add FTP Accounts (AMPPS 2.1 on Mac), Fails to add FTP accounts (6 Replies, Read 11132 times)
ajwallace
Group: Member
Post Group: Newbie
Posts: 2
Status:

Not sure if anyone else has encountered this issue.  I have no issues on my other Mac, albeit using an earlier version of AMPPS.  I just set-up AMPPS on an iMac (10.8.2). All working fine except I cannot add new FTP accounts...

When I got to add an FTP account, I can complete the login, password and address as per normal. When I hit 'Create Account' I receive a success notification (and the directory is created in www also). However, the account isn't created - it doesn't show under Manage FTP.

I can however log-in to FTP anonymously so I guess I need to assume that FTP is running as anticipated.  On the off chance it was a browser issues (Chrome 30.0.1599.101) I've also tried Safari and Firefox but to no avail. 

I've also tried restarting the system, as well as restarting the FTP service several times (restoring the config file just in case too!)

Any ideas? I can just about cope with not having FTP but it's a bit of a pain and don't understand why it's not working!


Cheers,
Andy
IP: --   

Can't add FTP Accounts (AMPPS 2.1 on Mac)
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Yes. There is a known bug. It will be fixed in coming versions.

Till then you can create a user from Terminal:
Code
/Applications/AMPPS/Pure-FTPd/bin/pure-pw useradd [username] -u [unix-user] -d [directory-for-user]


Enter the new password after executing the command.


Edited by tidus : October 22, 2013, 8:01 am

-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

Can't add FTP Accounts (AMPPS 2.1 on Mac)
ajwallace
Group: Member
Post Group: Newbie
Posts: 2
Status:
Thanks for that, appreciate your help.

Happy to add via the Terminal.
IP: --   

Can't add FTP Accounts (AMPPS 2.1 on Mac)
coccoinomane
Group: Member
Post Group: Newbie
Posts: 3
Status:
Hi Tidus,

I am sorry to bump this old thread, but it seems that adding FTP users via the web interface is still not possible on a Mac. I am on the latest AMPPS (v3.4, although in the interface it is listed as AMPPS 4.6.7) on OS X El Capitan.

I have resorted to adding FTP users using you Terminal snippet. However, when I run

Code
/Applications/AMPPS/Pure-FTPd/bin/pure-pw useradd test_user -u test_user -d test_user


and I input a password, I get the following error:

Code
No useable password hashing function found


Am I doing something wrong?

Thank you for your attention!
G
IP: --   

Can't add FTP Accounts (AMPPS 2.1 on Mac)
hakang
Group: Member
Post Group: Newbie
Posts: 5
Status:
Hakans-MacBook-Pro:pdf Hakan$ id -u hakan
501
Hakans-MacBook-Pro:pdf Hakan$ id -g hakan
20
Hakans-MacBook-Pro:pdf Hakan$ id -G hakan
20 701 12 61 79 80 81 98 33 100 204 395 398 399
Hakans-MacBook-Pro:pdf Hakan$ id hakan
uid=501(Hakan) gid=20(staff) groups=20(staff),701(com.apple.sharepoint.group.1),12(everyone),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),33(_appstore),100(_lpoperator),204(_developer),395(com.apple.access_ftp),398(com.apple.access_screensharing),399(com.apple.access_ssh)
Hakans-MacBook-Pro:pdf Hakan$ /Applications/AMPPS/Pure-FTPd/bin/pure-pw useradd hg -u 501 -g 20 -d  /Applications/AMPPS/www/hakan
Password:
Enter it again:
No useable password hashing function found
Hakans-MacBook-Pro:pdf Hakan$
IP: --   

Can't add FTP Accounts (AMPPS 2.1 on Mac)
hakang
Group: Member
Post Group: Newbie
Posts: 5
Status:
OSX doesn't have a secure crypt(3) implementation. The best algorithm it can do is DES, that pure-ftpd does not support any more.

You need to install libsodium prior to compiling pure-ftpd in order to get a usable password hashing function.

else {
        fprintf(stderr, "No useable password hashing function found\n"
              "Please install libsodium (https://libsodium.org) and recompile pure-ftpd.\n");
        exit(EXIT_FAILURE);
    }
IP: --   

Can't add FTP Accounts (AMPPS 2.1 on Mac)
coccoinomane
Group: Member
Post Group: Newbie
Posts: 3
Status:
Quote From : hakang May 19, 2016, 9:27 am
OSX doesn't have a secure crypt(3) implementation. The best algorithm it can do is DES, that pure-ftpd does not support any more.

You need to install libsodium prior to compiling pure-ftpd in order to get a usable password hashing function.


Thank you hakang! I have installed libsodium via MacPorts; do I need to recompile pure-ftpd? Is there a simpler way, es. lower the security standards of pure-ftpd? I am using AMPPS locally, so I don't care if the password is not secure enough.

Thank you,
Guido
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 28, 2024, 2:20 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.026