diff options
Diffstat (limited to 'modules/pam_setquota')
-rw-r--r-- | modules/pam_setquota/Makefile.am | 4 | ||||
-rw-r--r-- | modules/pam_setquota/Makefile.in | 15 | ||||
-rw-r--r-- | modules/pam_setquota/README.xml | 32 | ||||
-rw-r--r-- | modules/pam_setquota/pam_setquota.8 | 26 | ||||
-rw-r--r-- | modules/pam_setquota/pam_setquota.8.xml | 64 |
5 files changed, 70 insertions, 71 deletions
diff --git a/modules/pam_setquota/Makefile.am b/modules/pam_setquota/Makefile.am index b01a3288..1582e515 100644 --- a/modules/pam_setquota/Makefile.am +++ b/modules/pam_setquota/Makefile.am @@ -11,7 +11,11 @@ dist_check_SCRIPTS = tst-pam_setquota TESTS = $(dist_check_SCRIPTS) securelibdir = $(SECUREDIR) +if HAVE_VENDORDIR +secureconfdir = $(VENDOR_SCONFIGDIR) +else secureconfdir = $(SCONFIGDIR) +endif AM_CFLAGS = -I$(top_srcdir)/libpam/include -I$(top_srcdir)/libpamc/include \ $(WARN_CFLAGS) diff --git a/modules/pam_setquota/Makefile.in b/modules/pam_setquota/Makefile.in index f4f49f02..5e4375a9 100644 --- a/modules/pam_setquota/Makefile.in +++ b/modules/pam_setquota/Makefile.in @@ -424,6 +424,7 @@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ +DOCBOOK_RNG = @DOCBOOK_RNG@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ @@ -436,11 +437,13 @@ EXEEXT = @EXEEXT@ EXE_CFLAGS = @EXE_CFLAGS@ EXE_LDFLAGS = @EXE_LDFLAGS@ FGREP = @FGREP@ +FILECMD = @FILECMD@ FO2PDF = @FO2PDF@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ +HTML_STYLESHEET = @HTML_STYLESHEET@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ @@ -472,12 +475,14 @@ LIBSELINUX = @LIBSELINUX@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ +LOGIND_CFLAGS = @LOGIND_CFLAGS@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ +MAN_STYLESHEET = @MAN_STYLESHEET@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ @@ -500,6 +505,7 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +PDF_STYLESHEET = @PDF_STYLESHEET@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ @@ -510,12 +516,16 @@ SECUREDIR = @SECUREDIR@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ -STRINGPARAM_HMAC = @STRINGPARAM_HMAC@ +STRINGPARAM_PROFILECONDITIONS = @STRINGPARAM_PROFILECONDITIONS@ STRINGPARAM_VENDORDIR = @STRINGPARAM_VENDORDIR@ STRIP = @STRIP@ +SYSTEMD_CFLAGS = @SYSTEMD_CFLAGS@ +SYSTEMD_LIBS = @SYSTEMD_LIBS@ TIRPC_CFLAGS = @TIRPC_CFLAGS@ TIRPC_LIBS = @TIRPC_LIBS@ +TXT_STYLESHEET = @TXT_STYLESHEET@ USE_NLS = @USE_NLS@ +VENDOR_SCONFIGDIR = @VENDOR_SCONFIGDIR@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ XGETTEXT = @XGETTEXT@ @@ -589,7 +599,8 @@ XMLS = README.xml pam_setquota.8.xml dist_check_SCRIPTS = tst-pam_setquota TESTS = $(dist_check_SCRIPTS) securelibdir = $(SECUREDIR) -secureconfdir = $(SCONFIGDIR) +@HAVE_VENDORDIR_FALSE@secureconfdir = $(SCONFIGDIR) +@HAVE_VENDORDIR_TRUE@secureconfdir = $(VENDOR_SCONFIGDIR) AM_CFLAGS = -I$(top_srcdir)/libpam/include -I$(top_srcdir)/libpamc/include \ $(WARN_CFLAGS) diff --git a/modules/pam_setquota/README.xml b/modules/pam_setquota/README.xml index 4eeddecc..7f5e429d 100644 --- a/modules/pam_setquota/README.xml +++ b/modules/pam_setquota/README.xml @@ -1,41 +1,27 @@ -<?xml version="1.0" encoding='UTF-8'?> -<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" -"http://www.docbook.org/xml/4.3/docbookx.dtd" -[ -<!-- -<!ENTITY pamaccess SYSTEM "pam_setquota.8.xml"> ---> -]> +<article xmlns="http://docbook.org/ns/docbook" version="5.0"> -<article> - - <articleinfo> + <info> <title> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_setquota.8.xml" xpointer='xpointer(//refnamediv[@id = "pam_setquota-name"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_setquota.8.xml" xpointer='xpointer(id("pam_setquota-name")/*)'/> </title> - </articleinfo> + </info> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_setquota.8.xml" xpointer='xpointer(//refsect1[@id = "pam_setquota-description"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_setquota.8.xml" xpointer='xpointer(id("pam_setquota-description")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_setquota.8.xml" xpointer='xpointer(//refsect1[@id = "pam_setquota-options"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_setquota.8.xml" xpointer='xpointer(id("pam_setquota-options")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_setquota.8.xml" xpointer='xpointer(//refsect1[@id = "pam_setquota-examples"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_setquota.8.xml" xpointer='xpointer(id("pam_setquota-examples")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_setquota.8.xml" xpointer='xpointer(//refsect1[@id = "pam_setquota-author"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_setquota.8.xml" xpointer='xpointer(id("pam_setquota-author")/*)'/> </section> -</article> +</article>
\ No newline at end of file diff --git a/modules/pam_setquota/pam_setquota.8 b/modules/pam_setquota/pam_setquota.8 index f09ba960..2c95097c 100644 --- a/modules/pam_setquota/pam_setquota.8 +++ b/modules/pam_setquota/pam_setquota.8 @@ -1,13 +1,13 @@ '\" t .\" Title: pam_setquota .\" Author: [see the "AUTHOR" section] -.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 09/03/2021 +.\" Generator: DocBook XSL Stylesheets v1.79.2 <http://docbook.sf.net/> +.\" Date: 05/07/2023 .\" Manual: Linux-PAM Manual -.\" Source: Linux-PAM Manual +.\" Source: Linux-PAM .\" Language: English .\" -.TH "PAM_SETQUOTA" "8" "09/03/2021" "Linux-PAM Manual" "Linux\-PAM Manual" +.TH "PAM_SETQUOTA" "8" "05/07/2023" "Linux\-PAM" "Linux\-PAM Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -40,30 +40,30 @@ This makes quotas usable with central user databases, such as MySQL or LDAP\&. .SH "OPTIONS" .PP .PP -\fBfs=\fR\fB\fI/home\fR\fR +fs=/home .RS 4 The device file or mountpoint the policy applies to\&. Defaults to the filesystem containing the users home directory\&. .RE .PP -\fBoverwrite=\fR\fB\fI0\fR\fR +overwrite=0 .RS 4 Overwrite an existing quota\&. Note: Enabling this will remove the ability for the admin to manually configure different quotas for users for a filesystem with \fBedquota\fR(8)\&. (Defaults to 0) .RE .PP -\fBdebug=\fR\fB\fI0\fR\fR +debug=0 .RS 4 Enable debugging\&. A value of 1 outputs the old and new quota on a device\&. A value of 2 also prints out the matched and found filesystems should \fBfs\fR be unset\&. (Defaults to 0) .RE .PP -\fBstartuid=\fR\fB\fI1000\fR\fR +startuid=1000 .RS 4 Describe the start of the UID range the policy is applied to\&. (Defaults to UID_MIN from login\&.defs or the uidmin value defined at compile\-time if UID_MIN is undefined\&.) .RE .PP -\fBenduid=\fR\fB\fI0\fR\fR +enduid=0 .RS 4 Describe the end of the UID range the policy is applied to\&. Setting \fIenduid=0\fR @@ -72,7 +72,7 @@ results in an open\-ended UID range (i\&.e\&. all uids greater than are included)\&. (Defaults to 0) .RE .PP -\fBbsoftlimit=\fR\fB\fI19000\fR\fR +bsoftlimit=19000 .RS 4 Soft limit for disk quota blocks, as defined by \fBquotactl\fR(2)\&. Note: @@ -83,7 +83,7 @@ and be set at the same time! .RE .PP -\fBbhardlimit=\fR\fB\fI20000\fR\fR +bhardlimit=20000 .RS 4 Hard limit for disk quota blocks, as defined by \fBquotactl\fR(2)\&. Note: @@ -94,7 +94,7 @@ and be set at the same time! .RE .PP -\fBisoftlimit=\fR\fB\fI3000\fR\fR +isoftlimit=3000 .RS 4 Soft limit for inodes, as defined by \fB quotactl\fR(2)\&. Note: @@ -105,7 +105,7 @@ and be set at the same time! .RE .PP -\fBihardlimit=\fR\fB\fI4000\fR\fR +ihardlimit=4000 .RS 4 Hard limit for inodes, as defined by \fB quotactl\fR(2)\&. Note: diff --git a/modules/pam_setquota/pam_setquota.8.xml b/modules/pam_setquota/pam_setquota.8.xml index fe83c805..41644eeb 100644 --- a/modules/pam_setquota/pam_setquota.8.xml +++ b/modules/pam_setquota/pam_setquota.8.xml @@ -1,53 +1,51 @@ -<?xml version="1.0" encoding='UTF-8'?> -<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"> - -<refentry id="pam_setquota"> +<refentry xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="pam_setquota"> <refmeta> <refentrytitle>pam_setquota</refentrytitle> <manvolnum>8</manvolnum> - <refmiscinfo class="sectdesc">Linux-PAM Manual</refmiscinfo> + <refmiscinfo class="source">Linux-PAM</refmiscinfo> + <refmiscinfo class="manual">Linux-PAM Manual</refmiscinfo> </refmeta> - <refnamediv id="pam_setquota-name"> + <refnamediv xml:id="pam_setquota-name"> <refname>pam_setquota</refname> <refpurpose>PAM module to set or modify disk quotas on session start</refpurpose> </refnamediv> <refsynopsisdiv> - <cmdsynopsis id="pam_setquota-cmdsynopsis"> + <cmdsynopsis xml:id="pam_setquota-cmdsynopsis" sepchar=" "> <command>pam_setquota.so</command> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> fs=<replaceable>/home</replaceable> </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> overwrite=<replaceable>0</replaceable> </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> debug=<replaceable>0</replaceable> </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> startuid=<replaceable>1000</replaceable> </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> enduid=<replaceable>0</replaceable> </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> bsoftlimit=<replaceable>19000</replaceable> </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> bhardlimit=<replaceable>20000</replaceable> </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> isoftlimit=<replaceable>3000</replaceable> </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> ihardlimit=<replaceable>4000</replaceable> </arg> </cmdsynopsis> </refsynopsisdiv> - <refsect1 id="pam_setquota-description"> + <refsect1 xml:id="pam_setquota-description"> <title>DESCRIPTION</title> @@ -60,14 +58,14 @@ </refsect1> - <refsect1 id="pam_setquota-options"> + <refsect1 xml:id="pam_setquota-options"> <title>OPTIONS</title> <para> <variablelist> <varlistentry> <term> - <option>fs=<replaceable>/home</replaceable></option> + fs=/home </term> <listitem> <para> @@ -78,7 +76,7 @@ </varlistentry> <varlistentry> <term> - <option>overwrite=<replaceable>0</replaceable></option> + overwrite=0 </term> <listitem> <para> @@ -91,7 +89,7 @@ </varlistentry> <varlistentry> <term> - <option>debug=<replaceable>0</replaceable></option> + debug=0 </term> <listitem> <para> @@ -103,7 +101,7 @@ </varlistentry> <varlistentry> <term> - <option>startuid=<replaceable>1000</replaceable></option> + startuid=1000 </term> <listitem> <para> @@ -115,7 +113,7 @@ </varlistentry> <varlistentry> <term> - <option>enduid=<replaceable>0</replaceable></option> + enduid=0 </term> <listitem> <para> @@ -128,7 +126,7 @@ </varlistentry> <varlistentry> <term> - <option>bsoftlimit=<replaceable>19000</replaceable></option> + bsoftlimit=19000 </term> <listitem> <para> @@ -142,7 +140,7 @@ </varlistentry> <varlistentry> <term> - <option>bhardlimit=<replaceable>20000</replaceable></option> + bhardlimit=20000 </term> <listitem> <para> @@ -156,7 +154,7 @@ </varlistentry> <varlistentry> <term> - <option>isoftlimit=<replaceable>3000</replaceable></option> + isoftlimit=3000 </term> <listitem> <para> @@ -169,7 +167,7 @@ </varlistentry> <varlistentry> <term> - <option>ihardlimit=<replaceable>4000</replaceable></option> + ihardlimit=4000 </term> <listitem> <para> @@ -184,14 +182,14 @@ </para> </refsect1> - <refsect1 id="pam_setquota-types"> + <refsect1 xml:id="pam_setquota-types"> <title>MODULE TYPES PROVIDED</title> <para> Only the <option>session</option> module type is provided. </para> </refsect1> - <refsect1 id='pam_setquota-return_values'> + <refsect1 xml:id="pam_setquota-return_values"> <title>RETURN VALUES</title> <para> <variablelist> @@ -255,7 +253,7 @@ </para> </refsect1> - <refsect1 id='pam_setquota-examples'> + <refsect1 xml:id="pam_setquota-examples"> <title>EXAMPLES</title> <para> A single invocation of `pam_setquota` applies a specific policy to a UID @@ -270,7 +268,7 @@ </para> </refsect1> - <refsect1 id='pam_setquota-see_also'> + <refsect1 xml:id="pam_setquota-see_also"> <title>SEE ALSO</title> <para> <citerefentry> @@ -285,7 +283,7 @@ </para> </refsect1> - <refsect1 id='pam_setquota-author'> + <refsect1 xml:id="pam_setquota-author"> <title>AUTHOR</title> <para> pam_setquota was originally written by @@ -298,4 +296,4 @@ </para> </refsect1> -</refentry> +</refentry>
\ No newline at end of file |