I have 2 users to whom i want to disable terminal access, but still keep ftp access.How do I achieve this?
EDIT
Forgot to mention, I'm using vsftpd.
|
feedback
|
|
You can disable shell with:
or use virtual users. | |||
|
feedback
|
|
Proftpd will not allow nologin shell, just disable the non-shelled users in SSH by allowing only trusted shell users: In
| |||
|
feedback
|
|
Due to RequireValidShell directive in proftpd which is by default ON one needs to either add /bin/false to /etc/shells or turn RequireValidShell to off and then
reference : proftpd RequireValidShell directive man page | |||
|
feedback
|