Users for ftp only, not telnet

Posted on 1999-07-21
Medium Priority
Last Modified: 2010-04-20
How do i setup users for ftp only?
I need to setup some users to just access my server as ftp, others as telnet and many other just fro e-mail
Question by:crojas
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

gunny051499 earned 800 total points
ID: 1635623
to set up a user ftp-only, edit /etc/passwd (you have to be root) and change the login shell (ie. /bin/bash) to something that gives some output and then exits (ie. /bin/date or /bin/false).

for e-mail only, you will have to set up access rights in the ftpaccess configuration file, in order to allow just those, that are in group "ftpusers" to access ftp services (see "man ftpaccess").

Author Comment

ID: 1635624
Adjusted points to 200

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question