User permissions (shell/ FTP/ sFTP)

3 posts / 0 new
Last post
#1 Thu, 06/13/2013 - 07:49
monil

User permissions (shell/ FTP/ sFTP)

a. Is it possible to disable FTP altogether and allow only sFTP

b. Is it possible to disable shell login, but permit only sFTP

Fri, 06/14/2013 - 08:08
Locutus

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").

Fri, 06/14/2013 - 10:36
monil

Thank you. both suggestions worked perfectly.

Topic locked