Learn about Centmin Mod LEMP Stack today
Register Now

Beta Branch fix pure-ftpd login issues in 140.00beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jul 7, 2024.

  1. eva2000

    eva2000 Administrator Staff Member

    55,424
    12,257
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,839
    Local Time:
    8:00 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    fix pure-ftpd login issues in 140.00beta01

    - revert nginx user's uid and gid defaults from 956 to 1068 to allow pure-ftpd virtual ftp user logins. Fresh installs will have it already fixed
    - existing users can run cmupdate, then run and exist centmin.sh menu to apply changes and verify nginx uid/gid is not set to 1068 using command:

    id nginx

    - this update also added a script /usr/local/src/centminmod/tools/switch_pureftpd_uid.sh to manually update Centmin Mod nginx virtual pure-ftpd username's nginx uid/gid. The above cmupdate + centmin.sh menu run and exit should auotmatically run this script too but if it didn't and your id nginx returns 1068 but pure-pw show username command shows UID/GID as still not 1068, you can set it via script


    /usr/local/src/centminmod/tools/switch_pureftpd_uid.sh -u 1068 -g 1068

    then verify pure-ftpd user via

    pure-pw show YOURFTP_USERNAME

    Continue reading...

    140.00beta01 branch