# vi /bin/ftponly #!/bin/sh exit 0
# chmod 555 /bin/ftponly
# echo "/bin/ftponly" >> /etc/shells
後はvipwでシェルを変更するだけです。