1 <?xml version="1.0" encoding="UTF-8"?>
2 <refentry id='chgpasswd.8'>
3 <!-- $Id: chgpasswd.8.xml,v 1.2 2006/06/01 01:29:41 kloczek Exp $ -->
5 <refentrytitle>chgpasswd</refentrytitle>
6 <manvolnum>8</manvolnum>
7 <refmiscinfo class="sectdesc">System Management Commands</refmiscinfo>
10 <refname>chgpasswd</refname>
11 <refpurpose>update group passwords in batch mode</refpurpose>
14 <refsynopsisdiv id='synopsis'>
16 <command>chgpasswd</command>
18 <replaceable>options</replaceable>
23 <refsect1 id='description'>
24 <title>DESCRIPTION</title>
26 <command>chgpasswd</command> reads a list of group name and password
27 pairs from standard input and uses this information to update a set
28 of existing groups. Each line is of the format:
31 <emphasis remap='I'>group_name</emphasis>:<emphasis
32 remap='I'>password</emphasis>
35 By default the supplied password must be in clear-text. Default
36 encryption algorithm is DES.
39 This command is intended to be used in a large system environment
40 where many accounts are created at a single time.
44 <refsect1 id='options'>
45 <title>OPTIONS</title>
47 The options which apply to the <command>chgpasswd</command> command
50 <variablelist remap='IP'>
52 <term><option>-e</option>, <option>--encrypted</option></term>
54 <para>Supplied passwords are in encrypted form.</para>
58 <term><option>-h</option>, <option>--help</option></term>
60 <para>Display help message and exit.</para>
64 <term><option>-m</option>, <option>--md5</option></term>
67 Use MD5 encryption instead DES when the supplied passwords are
75 <refsect1 id='caveats'>
76 <title>CAVEATS</title>
78 Remember to set permissions or umask to prevent readability of
79 unencrypted files by other users.
83 <refsect1 id='see_also'>
84 <title>SEE ALSO</title>
87 <refentrytitle>gpasswd</refentrytitle><manvolnum>1</manvolnum>
90 <refentrytitle>groupadd</refentrytitle><manvolnum>8</manvolnum>