Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

configure ftp only

Status
Not open for further replies.

gca007

Technical User
Nov 28, 2002
18
EC
how to configure user to ftp only
 
Does that work, Andy??

Alternatively, create a .profile in that user's home directory just containing exit. Make sure it's owned by root and is read-only so the user can't replace it through[ignore] FTP. [/ignore] If you want to be nice put a brief message such as echo "Shell login disabled." before the exit. Annihilannic.
 
Very good... I forgot to add it to /etc/shells when I tried, hence the query. ;-) Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top