* man/newusers.8.xml: Added /etc/gshadow, /etc/group, /etc/shadow,

and /etc/passwd to section FILES.
* man/newusers.8.xml: Mentions that PAM is not used to set the
  passwords.
* man/chpasswd.8.xml: Added section FILES (/etc/passwd,
  /etc/shadow, /etc/login.defs).
* man/chpasswd.8.xml: Use the same paragraph as in newusers.8.xml
  to indicate that PAM is not used.
* man/chgpasswd.8.xml: Added section FILES (/etc/group,
  /etc/gshadow, /etc/login.defs).
This commit is contained in:
nekral-guest 2007-11-21 22:12:14 +00:00
parent 46ae2113b6
commit a34110320f
4 changed files with 95 additions and 5 deletions

View File

@ -1,3 +1,16 @@
2007-11-21 Nicolas François <nicolas.francois@centraliens.net>
* man/newusers.8.xml: Added /etc/gshadow, /etc/group, /etc/shadow,
and /etc/passwd to section FILES.
* man/newusers.8.xml: Mentions that PAM is not used to set the
passwords.
* man/chpasswd.8.xml: Added section FILES (/etc/passwd,
/etc/shadow, /etc/login.defs).
* man/chpasswd.8.xml: Use the same paragraph as in newusers.8.xml
to indicate that PAM is not used.
* man/chgpasswd.8.xml: Added section FILES (/etc/group,
/etc/gshadow, /etc/login.defs).
2007-11-21 Nicolas François <nicolas.francois@centraliens.net> 2007-11-21 Nicolas François <nicolas.francois@centraliens.net>
* src/newusers.c: Try harder to get the GID equal to the UID. * src/newusers.c: Try harder to get the GID equal to the UID.

View File

@ -121,6 +121,30 @@
</para> </para>
</refsect1> </refsect1>
<refsect1 id='files'>
<title>FILES</title>
<variablelist>
<varlistentry>
<term><filename>/etc/group</filename></term>
<listitem>
<para>Group account information.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><filename>/etc/gshadow</filename></term>
<listitem>
<para>Secure group account information.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><filename>/etc/login.defs</filename></term>
<listitem>
<para>Shadow password suite configuration.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 id='see_also'> <refsect1 id='see_also'>
<title>SEE ALSO</title> <title>SEE ALSO</title>
<para> <para>

View File

@ -121,14 +121,37 @@
unencrypted files by other users. unencrypted files by other users.
</para> </para>
<para> <para>
<command>chpasswd</command> does not use PAM to update the passwords. PAM is not used to update the passwords.
Thus, It only updates the passwords from the Thus, only <filename>/etc/passwd</filename> and
<filename>/etc/passwd</filename> and <filename>/etc/shadow</filename> <filename>/etc/shadow</filename> are updated, and the various checks
databases, and does not support the various checks provided by PAM or options provided by PAM modules are not used.
modules.
</para> </para>
</refsect1> </refsect1>
<refsect1 id='files'>
<title>FILES</title>
<variablelist>
<varlistentry>
<term><filename>/etc/passwd</filename></term>
<listitem>
<para>User account information.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><filename>/etc/shadow</filename></term>
<listitem>
<para>Secure user account information.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><filename>/etc/login.defs</filename></term>
<listitem>
<para>Shadow password suite configuration.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 id='see_also'> <refsect1 id='see_also'>
<title>SEE ALSO</title> <title>SEE ALSO</title>
<para> <para>

View File

@ -84,11 +84,41 @@
The input file must be protected since it contains unencrypted The input file must be protected since it contains unencrypted
passwords. passwords.
</para> </para>
<para>
PAM is not used to update the passwords.
Thus, only <filename>/etc/passwd</filename> and
<filename>/etc/shadow</filename> are updated, and the various checks
or options provided by PAM modules are not used.
</para>
</refsect1> </refsect1>
<refsect1 id='files'> <refsect1 id='files'>
<title>FILES</title> <title>FILES</title>
<variablelist> <variablelist>
<varlistentry>
<term><filename>/etc/passwd</filename></term>
<listitem>
<para>User account information.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><filename>/etc/shadow</filename></term>
<listitem>
<para>Secure user account information.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><filename>/etc/group</filename></term>
<listitem>
<para>Group account information.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><filename>/etc/gshadow</filename></term>
<listitem>
<para>Secure group account information.</para>
</listitem>
</varlistentry>
<varlistentry> <varlistentry>
<term><filename>/etc/login.defs</filename></term> <term><filename>/etc/login.defs</filename></term>
<listitem> <listitem>