case SHA crypt is not supported.
+2009-03-14 Nicolas François <nicolas.francois@centraliens.net>
+
+ * man/chgpasswd.8.xml, man/chpasswd.8.xml: Fix the man page in
+ case SHA crypt is not supported.
+
2009-03-14 Nicolas François <nicolas.francois@centraliens.net>
* man/vipw.8.xml: MAX_MEMBERS_PER_GROUP is not used by vipw and
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2006 , Tomasz Kłoczko
- Copyright (c) 2007 - 2008, Nicolas François
+ Copyright (c) 2007 - 2009, Nicolas François
All rights reserved.
Redistribution and use in source and binary forms, with or without
<term><option>-c</option>, <option>--crypt-method</option></term>
<listitem>
<para>Use the specified method to encrypt the passwords.</para>
- <para>
+ <para condition="no_sha_crypt">
+ The available methods are DES, MD5, and NONE.
+ </para>
+ <para condition="sha_crypt">
The available methods are DES, MD5, NONE, and SHA256 or SHA512
if your libc support these methods.
</para>
</para>
</listitem>
</varlistentry>
- <varlistentry>
+ <varlistentry condition="sha_crypt">
<term><option>-s</option>, <option>--sha-rounds</option></term>
<listitem>
<para>
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 1991 , Julianne Frances Haugh
- Copyright (c) 2007 - 2008, Nicolas François
+ Copyright (c) 2007 - 2009, Nicolas François
All rights reserved.
Redistribution and use in source and binary forms, with or without
<term><option>-c</option>, <option>--crypt-method</option></term>
<listitem>
<para>Use the specified method to encrypt the passwords.</para>
- <para>
+ <para condition="no_sha_crypt">
+ The available methods are DES, MD5, and NONE.
+ </para>
+ <para condition="sha_crypt">
The available methods are DES, MD5, NONE, and SHA256 or SHA512
if your libc support these methods.
</para>
</para>
</listitem>
</varlistentry>
- <varlistentry>
+ <varlistentry condition="sha_crypt">
<term><option>-s</option>, <option>--sha-rounds</option></term>
<listitem>
<para>