Learn about Centmin Mod LEMP Stack 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,725
    243
    63
    May 31, 2014
    Ratings:
    +434
    Local Time:
    8:13 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

    30,191
    6,788
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,142
    Local Time:
    3:13 AM
    Nginx 1.13.x
    MariaDB 5.5