Pure-ftpd には、独自の認証モジュールを作成するオプションがありますが、起動するにはランタイム作業が必要です。
Now, we have to run pure-authd and pure-ftpd, to connect them through a
local socket and to tell pure-ftpd to use our external authentication module:
pure-authd -s /var/run/ftpd.sock -r /usr/bin/ftp-auth-handler &
pure-ftpd -lextauth:/var/run/ftpd.sock &
That's all. Now, we can only log in as 'john', as all FTP authentication is
done by the shell script.
構成でこれら 2 つのコマンドを実行する方法はありますか?