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

    3,113
    295
    83
    May 31, 2014
    Ratings:
    +530
    Local Time:
    2:30 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

    36,072
    7,915
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,198
    Local Time:
    9:30 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
..