Solved

Linux FTP Server

Posted on 1997-01-08
1
274 Views
Last Modified: 2010-03-17
I want to limit USERS ftp logins to either their /home/<user> dir or the /home dir..  I'm not talking about anonymous users but users that have an account..  Should be nice and simple but it's possibily not :)
0
Comment
Question by:Q010797
[X]
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
1 Comment
 
LVL 1

Accepted Solution

by:
mstonge earned 20 total points
ID: 1584029
It is possible by including a guestgroup that is the same as the users group in your /etc/ftpaccess.  You will have to set up the user's home directory the same as for anonymous ftp, with the bin, dev, etc and lib directory structures.  This is a pain if you have a lot of users but it is not too bad if the number is small.

If you can't trust your users, and most people can't dont give them access to your server at all by giving them an untrusted login shell that will only give them ppp.  This will also deny them ftp access.  Personnaly, I give my user a ppp only shell without access to any of the server and most are OK with this.

Marc
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

749 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