[Webinar] Streamline your web hosting managementRegister Today


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

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

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
This article explains how to use the rsync command to create backups and sync data across hosts. Rsync is a very useful command that is often used to copy data, make backups, migrate hosts, and bridge the gap between site staging and production envi…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month9 days, 8 hours left to enroll

591 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