* src/pwck.c: Document the sections closed by #endif

* src/pwck.c, man/pwck.8.xml: No alternative shadow file can be
	given when USE_TCB is enabled.
This commit is contained in:
nekral-guest
2010-03-18 10:23:51 +00:00
parent 07c6e99725
commit 2db82460b1
4 changed files with 46 additions and 11 deletions
+16 -5
View File
@@ -88,6 +88,9 @@
The <command>pwck</command> command verifies the integrity of the
users and authentication information. It checks that all entries in
<filename>/etc/passwd</filename> and <filename>/etc/shadow</filename>
<phrase condition="tcb">(or the files in
<filename>/etc/tcb</filename>, when <option>USE_TCB</option> is
enabled)</phrase>
have the proper format and contain valid data.
The user is prompted to delete entries that are
improperly formatted or which have other uncorrectable errors.
@@ -200,7 +203,7 @@
<filename>/etc/shadow</filename> by UID.
</para>
<para condition="tcb">
This option has no effect when TCB is enabled.
This option has no effect when <option>USE_TCB</option> is enabled.
</para>
</listitem>
</varlistentry>
@@ -208,10 +211,18 @@
<para>
By default, <command>pwck</command> operates on the files
<filename>/etc/passwd</filename> and <filename>/etc/shadow</filename>.
The user may select alternate files with the <emphasis
remap='I'>passwd</emphasis> and <emphasis remap='I'>shadow</emphasis>
parameters.
<filename>/etc/passwd</filename> and
<filename>/etc/shadow</filename><phrase condition="tcb"> (or the
files in <filename>/etc/tcb</filename>)</phrase>.
The user may select alternate files with the
<replaceable>passwd</replaceable> and
<replaceable>shadow</replaceable> parameters.
</para>
<para condition="tcb">
Note that when <option>USE_TCB</option> is enabled, you cannot
specify an alternative <replaceable>shadow</replaceable> file. In
future releases, this paramater could be replaced by an alternate
TCB directory.
</para>
</refsect1>