的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.
有沒有辦法在配置中完成這兩個命令?