Allowing shell /bin/ftponly without /etc/shells entry
We have ftp users having shell /bin/ftponly and some other ftpuser are using different shells other than /bin/ftponly like/bin/ksh etc..
Since this is will allow the ftp users to have interactive session,we want ftpusers to have only ftp level access not for an interactive session like ssh.
We want to allow ftpuser with the shell called /bin/ftponly at the same time we do not want to disllow other users who is having different shells.
We are not sure about other shells which is used by the users since it large in numbers.
I want to know is there any way that we allow users to have ftp access with the shell /bin/ftponly.But the same we dont want to have any entries in /etc/shells or file itself, since it will disallow the other users who is using different shell. We have customised shell also like /usr/local/script/usermenu.sh and more.
0