Quota controls

System Quota

The users on my Redhat 6.1 system have a disk quota set for management purposes. I would like proftpd to run /usr/bin/quota right after the welcome.msg displays and/or let the users run quota while logged into ftp. Anyone know of a way to do this? I noticed that proftpd returns an error after the user has exceded his hard quota, so maybe the quota can be displayed without the quota program?

'fraid that's not possible, ProFTPd doesn't allow any external programs to be run like "site <some command>" and I think this includes things like this 'pre-exec' (like Samba can do) also.