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

    2,898
    260
    83
    May 31, 2014
    Ratings:
    +463
    Local Time:
    3:38 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

    31,628
    7,029
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,630
    Local Time:
    11:38 AM
    Nginx 1.13.x
    MariaDB 5.5