Просмотр исходного кода

installation.md: setcap on SFTPGo

Miraty 2 лет назад
Родитель
Сommit
23d7e7fc5b
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      DOCS/installation.md

+ 2 - 0
DOCS/installation.md

@@ -255,6 +255,8 @@ Create a directory for configuration: `mkdir /etc/sftpgo`
 
 
 Copy the systemd service: `cp /install/sftpgo.service /etc/systemd/system/sftpgo.service`
 Copy the systemd service: `cp /install/sftpgo.service /etc/systemd/system/sftpgo.service`
 
 
+Allow listening on privileged ports: `setcap 'cap_net_bind_service=+ep' /usr/local/bin/sftpgo`
+
 #### Configure SFTPGo for ServNest
 #### Configure SFTPGo for ServNest
 
 
 Generate a key pair using `ssh-keygen -f /etc/sftpgo/ed25519 -t ed25519 -N "" -C ""`
 Generate a key pair using `ssh-keygen -f /etc/sftpgo/ed25519 -t ed25519 -N "" -C ""`