Skip to content

Instantly share code, notes, and snippets.

Revisions

  1. jackie-do revised this gist Mar 12, 2018. 1 changed file with 1 addition and 3 deletions.
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,5 @@ sudo adduser --no-create-home <username>
    `

    `
    sudo usermode -d /path/to-a-directory <username>


    sudo usermod -d /path/to-a-directory <username>
    `
  2. jackie-do created this gist Mar 12, 2018.
    9 changes: 9 additions & 0 deletions [linux]_create_user_without_home_directory_and_set_up_sftp.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    `
    sudo adduser --no-create-home <username>
    `

    `
    sudo usermode -d /path/to-a-directory <username>


    `