Bash script for listing FTP usage as the file name of a file created in each share
I admin a FTP server and need help setting something up to allow the FTP users to see if their individual share is full.
A Fedora Core 6 system running vsftp using LVM to segregate FTP shares (matching the directory names to the logical volume names).
Also, there are multiple accounts per share (ex: share "sales" has accounts "john" and "tom" that are separate chrooted directories inside of the "sales" Logical Volume.
I have a cron script that does this:
What I'm looking for is help writing a script that will dynamically read which LogVols are currently in use then create files titled with account usage info written into the root of the appropriate account directories.
Any ideas? Even if you can just get me part of the way... any little bit helps. And if I'm totally missing the mark on this then please tell me! Anyway to let users see the amount of available space in their share will do the job.
Maybe something like:
|All times are GMT -5. The time now is 04:33 AM.|