Join the community today
Become a Member

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

    2,529
    231
    63
    May 31, 2014
    Ratings:
    +394
    Local Time:
    4:47 AM
    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

    29,031
    6,589
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,782
    Local Time:
    11:47 AM
    Nginx 1.13.x
    MariaDB 5.5