[Pkg-shadow-commits] r927 - in trunk/debian: . patches

Nicolas FRANCOIS nekral-guest at costa.debian.org
Sat Mar 25 15:12:54 UTC 2006


Author: nekral-guest
Date: 2006-03-25 15:12:53 +0000 (Sat, 25 Mar 2006)
New Revision: 927

Added:
   trunk/debian/patches/486_chgpasswd.8
Modified:
   trunk/debian/changelog
   trunk/debian/passwd.install
   trunk/debian/patches/series
Log:
Add the chgpasswd.8 man page.


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2006-03-24 07:33:25 UTC (rev 926)
+++ trunk/debian/changelog	2006-03-25 15:12:53 UTC (rev 927)
@@ -4,6 +4,8 @@
   * Debian packaging fixes:
     - Only replace manpages-es << 1.55-4. Thanks to Rubén
     - Include chgpasswd in shipped files. Really Closes: #355070
+  * Upstream bugs or fixes not already fixed in upstream releases or CVS:
+    - 486_chgpasswd.8: add a manpage for chgpasswd.
 
  -- Christian Perrier <bubulle at debian.org>  Wed, 22 Mar 2006 08:05:01 +0100
 

Modified: trunk/debian/passwd.install
===================================================================
--- trunk/debian/passwd.install	2006-03-24 07:33:25 UTC (rev 926)
+++ trunk/debian/passwd.install	2006-03-25 15:12:53 UTC (rev 927)
@@ -60,6 +60,7 @@
 usr/share/man/man5/porttime.5
 usr/share/man/man5/shadow.5
 usr/share/man/man5/gshadow.5
+usr/share/man/man8/chgpasswd.8
 usr/share/man/man8/chpasswd.8
 usr/share/man/man8/groupadd.8
 usr/share/man/man8/groupdel.8

Added: trunk/debian/patches/486_chgpasswd.8
===================================================================
--- trunk/debian/patches/486_chgpasswd.8	2006-03-24 07:33:25 UTC (rev 926)
+++ trunk/debian/patches/486_chgpasswd.8	2006-03-25 15:12:53 UTC (rev 927)
@@ -0,0 +1,131 @@
+Index: shadow-4.0.15/man/Makefile.am
+===================================================================
+--- shadow-4.0.15.orig/man/Makefile.am	2006-03-12 19:53:48.000000000 +0100
++++ shadow-4.0.15/man/Makefile.am	2006-03-25 15:33:42.000000000 +0100
+@@ -10,6 +10,7 @@
+ man_XMANS = \
+ 	chage.1.xml \
+ 	chfn.1.xml \
++	chgpasswd.8.xml \
+ 	chpasswd.8.xml \
+ 	chsh.1.xml \
+ 	expiry.1.xml \
+@@ -50,6 +51,7 @@
+ man_MANS = \
+ 	chage.1 \
+ 	chfn.1 \
++	chgpasswd.8 \
+ 	chpasswd.8 \
+ 	chsh.1 \
+ 	expiry.1 \
+@@ -116,6 +118,9 @@
+ chfn.1: chfn.1.xml
+ 	$(XSLTPROC) -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+ 
++chgpasswd.8: chgpasswd.8.xml
++	$(XSLTPROC) -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
++
+ chpasswd.8: chpasswd.8.xml
+ 	$(XSLTPROC) -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+ 
+Index: shadow-4.0.15/man/chgpasswd.8.xml
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ shadow-4.0.15/man/chgpasswd.8.xml	2006-03-25 15:32:01.000000000 +0100
+@@ -0,0 +1,96 @@
++<?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='chgpasswd.8'>
++  <!-- $Id: $ -->
++  <refmeta>
++    <refentrytitle>chgpasswd</refentrytitle>
++    <manvolnum>8</manvolnum>
++    <refmiscinfo class="sectdesc">System Management Commands</refmiscinfo>
++  </refmeta>
++  <refnamediv id='name'>
++    <refname>chgpasswd</refname>
++    <refpurpose>update group passwords in batch mode</refpurpose>
++  </refnamediv>
++
++  <refsynopsisdiv id='synopsis'>
++    <cmdsynopsis>
++      <command>chgpasswd</command>
++      <arg choice='opt'>
++	<replaceable>options</replaceable>
++      </arg>
++    </cmdsynopsis>
++  </refsynopsisdiv>
++
++  <refsect1 id='description'>
++    <title>DESCRIPTION</title>
++    <para>
++      <command>chgpasswd</command> reads a list of group name and password
++      pairs from standard input and uses this information to update a set
++      of existing groups. Each line is of the format:
++    </para>
++    <para>
++      <emphasis remap='I'>group_name</emphasis>:<emphasis
++      remap='I'>password</emphasis>
++    </para>
++    <para>
++      By default the supplied password must be in clear-text. Default
++      encryption algorithm is DES.
++    </para>
++    <para>
++      This command is intended to be used in a large system environment
++      where many accounts are created at a single time.
++    </para>
++  </refsect1>
++
++  <refsect1 id='options'>
++    <title>OPTIONS</title>
++    <para>
++      The options which apply to the <command>chgpasswd</command> command
++      are:
++    </para>
++    <variablelist remap='IP'>
++      <varlistentry>
++	<term><option>-e</option>, <option>--encrypted</option></term>
++	<listitem>
++	  <para>Supplied passwords are in encrypted form.</para>
++	</listitem>
++      </varlistentry>
++      <varlistentry>
++	<term><option>-h</option>, <option>--help</option></term>
++	<listitem>
++	  <para>Display help message and exit.</para>
++	</listitem>
++      </varlistentry>
++      <varlistentry>
++	<term><option>-m</option>, <option>--md5</option></term>
++	<listitem>
++	  <para>
++	    Use MD5 encryption instead DES when the supplied passwords are
++	    not encrypted.
++	  </para>
++	</listitem>
++      </varlistentry>
++    </variablelist>
++  </refsect1>
++
++  <refsect1 id='caveats'>
++    <title>CAVEATS</title>
++    <para>
++      Remember to set permissions or umask to prevent readability of
++      unencrypted files by other users.
++    </para>
++  </refsect1>
++
++  <refsect1 id='see_also'>
++    <title>SEE ALSO</title>
++    <para>
++      <citerefentry>
++	<refentrytitle>gpasswd</refentrytitle><manvolnum>1</manvolnum>
++      </citerefentry>,
++      <citerefentry>
++	<refentrytitle>groupadd</refentrytitle><manvolnum>8</manvolnum>
++      </citerefentry>.
++    </para>
++  </refsect1>
++</refentry>

Modified: trunk/debian/patches/series
===================================================================
--- trunk/debian/patches/series	2006-03-24 07:33:25 UTC (rev 926)
+++ trunk/debian/patches/series	2006-03-25 15:12:53 UTC (rev 927)
@@ -40,3 +40,4 @@
 483_su_fakelogin_wrong_arg0
 491_configure.in_friendly_selinux_detection
 592_manpages_typos
+486_chgpasswd.8




More information about the Pkg-shadow-commits mailing list