Discover Centmin Mod today
Register Now

Lock existing ftp user on directory

Discussion in 'Install & Upgrades or Pre-Install Questions' started by pamamolf, Feb 7, 2016.

  1. pamamolf

    pamamolf Well-Known Member

    3,073
    293
    83
    May 31, 2014
    Ratings:
    +524
    Local Time:
    6:38 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Hi

    How can i lock an existing ftp user to a directory?

    I know that for a new created user can be done like:

    Code:
    pure-pw useradd createnewftpuser -u nginx -g nginx -d /home/nginx/domains/mydomain.com/uploads/
    but don't remember how to do it on existing ftp user :(
     
  2. eva2000

    eva2000 Administrator Staff Member

    33,690
    7,459
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,470
    Local Time:
    1:38 AM
    Nginx 1.13.x
    MariaDB 5.5
..