pam: modules/pam_quota/README - cleanup, new options

baggins baggins at pld-linux.org
Thu May 10 19:18:32 CEST 2007


Author: baggins                      Date: Thu May 10 17:18:32 2007 GMT
Module: pam                           Tag: HEAD
---- Log message:
- cleanup, new options

---- Files affected:
pam/modules/pam_quota:
   README (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: pam/modules/pam_quota/README
diff -u pam/modules/pam_quota/README:1.1 pam/modules/pam_quota/README:1.2
--- pam/modules/pam_quota/README:1.1	Thu May 10 18:28:09 2007
+++ pam/modules/pam_quota/README	Thu May 10 19:18:27 2007
@@ -1,21 +1,28 @@
-This is a simple pam session module to automatically setup user quota (root 
-excluded). To build it simply type 'make' from its directory. To install simply
-issue a 'make install', and note that by default it will install into /usr/lib 
-(a good place for FreeBSD system): you can override that giving a different 
-DESTDIR to make. For example on Linux you may want to install pam_quota to 
-/lib/security issuing 'make install DESTDIR=/lib/security'.
+This is a simple pam session module to show/warn or setup user quota.
 
 To enable pam_quota, just add a similar line into /etc/pam.d/<service>:
 
-	session         required pam_quota.so           bhardlimit=30000 bsoftlimit=25000 ihardlimit=15000 isoftlimit=20000 itime=86400 btime=86400
+	session		required	pam_quota.so
+
+Module options:
+
+	show (default)	always display quotas (like `quota -v`)
+	warn[=N]	warn if a user is nearing any limit by N% (default 5) or above the limit
+	set		set quota as specified in /etc/security/quota.conf
 
 Arguments are used to setup quota values (by default everything is zero) and
 follows the dqblk structure:
 
-   bhardlimit        absolute limit on disk blks alloc
-   bsoftlimit        preferred limit on disk blks
-   ihardlimit        maximum # allocated inodes + 1
-   isoftlimit        preferred inode limit
-   btime             time limit for excessive disk use
-   itime             time limit for excessive files
+	bhardlimit=30000
+	bsoftlimit=25000
+	ihardlimit=15000
+	isoftlimit=20000
+	itime=86400
+	btime=86400
 
+	bhardlimit	absolute limit on disk blks alloc
+	bsoftlimit	preferred limit on disk blks
+	ihardlimit	maximum # allocated inodes + 1
+	isoftlimit	preferred inode limit
+	btime		time limit for excessive disk use
+	itime		time limit for excessive files
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/pam/modules/pam_quota/README?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list