Site Tools


tech_public:tp_linux (text)

This is an old revision of the document!


Linux

Linux Mint optimize

CHMOD all files/directories

find . -type d -exec chmod 770 -- {} +

find . -type d -exec chmod 2770 -- {} +

(-- to prevent name starting with dash as conflict)

Change SFTP default upload permission (umask)

  1. Ordered List ItemUpdated /etc/ssh/sshd_config with Subsystem sftp /usr/lib/openssh/sftp-server -u XXX
  2. sudo systemctl restart ssh

SSH key login as root

WINSCP allow sudo command with normal account

tech_public/tp_linux.1739954374.txt.gz · Last modified: by jasonwch (text)

Top ↑