|
don't open three threads to ask the same question. i deleted the other threads.
to create an account that can be used only for ftp, i would make the shell "/usr/bin/true". yeah, you can still telnet in, but you can't do anything and you will disconnect immediately. for such a user to be able to use ftp, "/usr/bin/true" must be added to the file "/etc/shells".
to create an account that can be used by telnet, but not ftp, give this user a regular shell like ksh. then add it to the file /etc/ftpd/ftpusers. this file, which is badly named, is a list of users who cannot use ftp.
and sure, both users can be in the same group if you want.
|