LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-30-2003, 10:33 PM   #1
kabir
LQ Newbie
 
Registered: Nov 2003
Posts: 7

Rep: Reputation: 0
setting directory quotas and FTP server help


I need to somehow set a disk quota for certain directories within the same user. I have messed around with the Disk Quota package (in mandrake linux) in webmin but i can only set quotas for the whole user and not just certain directories. What can i do?

Also, I am extremely new to linux and i cannot figure out how to add user accounts for proftpd through webmin...can anyone help with this either?
 
Old 12-01-2003, 07:17 AM   #2
SkiTz0.BiLL-BoB
LQ Newbie
 
Registered: Sep 2003
Location: UK
Distribution: SuSE 11.2
Posts: 7

Rep: Reputation: 0
im also a bit of a linux newbie, and went through probably the same proftpd problems as you, have got my server running sweet now tho (mainly thanks to ths forum, and i didnt even have to ask a question.. thanks people )

webmin is an EXCELLENT way of configuring linux, but I found editing the proftpd.conf file manually was of far greater benefit to me, I would suggest you do this yourself. A list, with examples and explanation of all the 'directives' you can use are available on the proftpd site ( http://proftpd.linux.co.uk/docs ). For reference the reason your webmin is behaving strangely is probably because the 'module config' is incorrect, the default setting is not the same as the proftpd setting, or wasnt for me.

basically you have 2 ways of creating an ftp user, that i know of, method 1 is to create a system user as normal, and in the server config add their username.. e.g.:

<Anonymous /home/ftpuser/public_ftp>
User ftpuser
Group users
AnonRequirePassword on
</Anonymous>

where ftpuser is a system account and is a member of the users group and /home/ftpuser/public_ftp is a directory that the user has access to which will be used as the ftp root directory for this user login.

method 2 is to use aliases, this was the way i did it for simplicity and to keep my system as uncluttered as possible... create a single user such as above in method 1, and then create aliases to that user in the proftpd.conf file, e.g.:

<Anonymous /home/ftpuser/public_ftp>
User ftpuser
Group users
UserAlias SkiTz0.BiLL-BoB ftpuser
AnonRequirePassword on
</Anonymous>

this would allow me to login to this server with the username 'ftpuser' OR 'SkiTz0.BiLL-BoB' .. both using the same password, ftpuser's password.

by adding the line 'AuthAliasOnly on' it would only allow access via an aliased username, login using the user ftpuser directly would not work.


I hope that helps, and isnt too confusing, just trying to give a good explanation.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
is there the x directory in an ftp server? kpachopoulos Programming 1 07-24-2005 03:44 PM
disk/directory quotas Basslord1124 Linux - General 2 03-21-2005 09:51 AM
Setting up a FTP server and Game server Spyiish Slackware 38 11-01-2004 05:32 AM
setting up FTP server sulfur Linux - Newbie 4 09-02-2004 07:48 PM
need help setting up ftp user accounts and directory structures aikym1 Linux - Newbie 4 07-19-2004 03:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration