1834449 Members
2192 Online
110067 Solutions
New Discussion

Re: FTP ID

 
Macho_2
Frequent Advisor

FTP ID

How to Set ftp id ( example : ftp123 )to be used for FTP only and not be able to log on to server interactively.
1 REPLY 1
Patrick Wallek
Honored Contributor

Re: FTP ID

I would set the users default shell to be /usr/bin/false. This will not allow the user to login interactively.

To allow FTP use, you must specify /usr/bin/false in the /etc/shells file. This file does not exist by default and must be created.

An example:

# cat /etc/shells
/sbin/sh
/usr/bin/sh
/usr/bin/ksh
/usr/bin/csh
/usr/bin/false