Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pure-quotacheck(8) [debian man page]

pure-quotacheck(8)						     Pure-FTPd							pure-quotacheck(8)

NAME
pure-quotacheck - Update virtual quota files for Pure-FTPd SYNTAX
pure-quotacheck -u username/gid -d home directory [-g group/gid] DESCRIPTION
pure-quotacheck create a .ftpquota file in the specified directory. This file contains the current file and size of the directory, and it is used by Pure-FTPd when virtual quotas are enabled. It's recommended to periodically run pure-quotacheck for every user, in crontabs. OPTIONS
-d <directory> Scans the specified <directory>. -g <group or gid> Sets the group files will be scanned as. This is optional : if a user name is passed to -u</fR>, group are automatically retrieved. -u <user or uid> Set the user name files will be scanned as. This is mandatory, and it can't be "root". -h Output usage information and exit. FILES
.ftpquota EXAMPLES
To run this program the standard way type: pure-quotacheck -u john -d /home/john AUTHORS
Frank DENIS <j at pureftpd dot org> SECURITY
pure-quotacheck switches real and effective uids/gids as soon as possible. Root privileges are never given back. pure-quotacheck refuses to scan directories with uid = 0 (root) or gid = 0 (wheel/root) . pure-quotacheck performs a chroot() call to the home directory. It never traverses parent directories. pure-quotacheck only scans real files (no socket, no pipe, etc) . pure-quotacheck enforces read access on directories to prevent against people doing chmod 0 before a quota scan. pure-quotacheck enforces write access on the home directory to properly write the .ftpquota file. pure-quotacheck never scans the same inode/device pair twice. SEE ALSO
ftp(1), pure-ftpd(8) pure-ftpwho(8) pure-mrtginfo(8) pure-uploadscript(8) pure-statsdecode(8) pure-pw(8) pure-quotacheck(8) pure-authd(8) RFC 959, RFC 2228, RFC 2389 and RFC 2428. Pure-FTPd team 1.0.36 pure-quotacheck(8)

Check Out this Related Man Page

pure-ftpwho(8)							     Pure-FTPd							    pure-ftpwho(8)

NAME
pure-ftpwho - Report current FTP sessions SYNTAX
pure-ftpwho [-c] [-h] [-H] [-n] [-p] [-s] [-v] [-w] [-W] [-x] DESCRIPTION
pure-ftpwho shows current Pure-FTPd client sessions. Only the system administrator may run this. Output can be text (default), HTML, XML data and parser-optimized. The server has to be compiled with --with-ftpwho to support this command. OPTIONS
-c the program is called via a web server (CGI interface) . Output is a full HTML page with the initial content-type header. This option is automatically enabled if an environment variable called GATEWAY_INTERFACE is found. This is the default if you can the program from a CGI-enabled web server (Apache, Roxen, Caudium, WN, ...) . -h Output help information and exit. -H Don't resolve host names, and only show IP addresses (faster). -n A synonym for -H. -p Output Mac OSX / GNUStep plist data. -s Output only one line per client, with only numeric data, delimited by a | character. It's not very human-readable, but it's designed for easy parsing by shell scripts (cut/sed) . '|' characters in user names or file names are quoted (|) . -v Output an ASCII table (just like the default mode), with more info. The verbose output includes the local IP, the local port, the total size of transfered files and the current number of transfered bytes. -w Output a complete HTML page (web mode). -W Output an HTML page with no header and no footer. This is an embedded mode, suitable for inline calls from CGI, SSI or PHP scripts. -x Output well-formed XML data for post-processing. FILES
/var/run/pure-ftpd/ Scoreboard directory. Should always owned by root and on a lockable filesystem. ENVIRONMENT VARIABLES
GATEWAY_INTERFACE If found, automatically run in CGI mode and output HTML data. AUTHORS
Frank DENIS <j at pureftpd dot org> SEE ALSO
ftp(1), pure-ftpd(8) pure-ftpwho(8) pure-mrtginfo(8) pure-uploadscript(8) pure-statsdecode(8) pure-pw(8) pure-quotacheck(8) pure-authd(8) RFC 959, RFC 2389, RFC 2228 and RFC 2428. Pure-FTPd team 1.0.36 pure-ftpwho(8)
Man Page