This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
a. Since SFTP is performed by the SSH daemon, it should suffice to disable the ProFTPD. Then no more FTP logins will be possible.
b. Yep, you can do that by using the proper Custom Shell for your users. See "System Customization / Custom Shells", and use one with "/usr/bin/scponly" as shell command. There should be one defined by default (named "Email, FTP and SFTP").
a. Since SFTP is performed by the SSH daemon, it should suffice to disable the ProFTPD. Then no more FTP logins will be possible.
b. Yep, you can do that by using the proper Custom Shell for your users. See "System Customization / Custom Shells", and use one with "/usr/bin/scponly" as shell command. There should be one defined by default (named "Email, FTP and SFTP").
Thank you. both suggestions worked perfectly.