Feed on
Posts
Comments
推薦本文到Plurk噗浪去!

昨天遇到這個問題,不過其實之前就有解決過這問題,只是忘記怎麼解決,之前是利用 MySQL 的方式建立帳號,因為相當方便,請參考這篇 [Linux] Ubuntu 6.06 Proftpd + Mysql 安裝方式,支援 /bin/false 跟 /sbin/nologin 也相當簡單

只要在 proftpd.conf 加上

RequireValidShell on

官網寫的 config_ref_RequireValidShell

然後在編輯 /etc/shells 加上

/sbin/nologin
推薦本文到Plurk噗浪去!