Results 1 to 10 of 11
so i'm running slackware 10, and i would like to be able to create a user that is restricted to its home directory for ftp, as a a max disk ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-23-2005 #1Just Joined!
- Join Date
- Dec 2004
- Posts
- 49
Automating user restrictions?
so i'm running slackware 10, and i would like to be able to create a user that is restricted to its home directory for ftp, as a a max disk quota of 1 gig, has email, and things like that. easy way to automate that? (or even do it....)
thanks everybody!
- 01-23-2005 #2
what do you mean restricted to his home directory for ftp? do you mean that he can only access his home directory all the time, or only access his home directory when he ftp's in?
- 01-23-2005 #3Just Joined!
- Join Date
- Dec 2004
- Posts
- 49
restricted to his home directory for ftp. (ssh it doesn't matter as i'm just not going to forward the ssh port to that machine), in general i guess. sorry for not making it clear.
- 01-23-2005 #4
so that when he ftp's in, it will lock him in his /home dir?
- 01-23-2005 #5Just Joined!
- Join Date
- Dec 2004
- Posts
- 49
ya
- 01-23-2005 #6
try vsftpd, it's fairly secure and relatively easy to configure.
- 01-23-2005 #7Just Joined!
- Join Date
- Dec 2004
- Posts
- 49
what about assigning a disk quota?
also right now i'm using proftp. switch to vsftpd?
- 01-23-2005 #8
You can also use proftp. A disk quota can be assigned in many different ways, one of which is giving the directory it's own partition. But this is by far not the only way.
- 01-23-2005 #9Just Joined!
- Join Date
- Dec 2004
- Posts
- 49
i don't think a partition will be practical as i will need at least dozens, and need to add them as i go along. another option?
- 01-23-2005 #10Just Joined!
- Join Date
- Sep 2004
- Location
- Gold Coast
- Posts
- 2
linux has quota support built in.
man quota
http://www.tldp.org/HOWTO/Quota.html


Reply With Quote
