mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 02:03:37 +08:00
man: make sure credentials properly show up in directives index
This commit is contained in:
parent
9f6e0bd417
commit
8914f7e8e4
@ -49,6 +49,15 @@
|
||||
<variablelist id='environment-variables' />
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>System Credentials</title>
|
||||
|
||||
<para>System credentials understood by the system and service manager and various other
|
||||
components:</para>
|
||||
|
||||
<variablelist id='system-credentials' />
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>EFI variables</title>
|
||||
|
||||
|
@ -308,10 +308,10 @@
|
||||
(see <citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>1</manvolnum></citerefentry> for
|
||||
details). The following credentials are used when passed in:</para>
|
||||
|
||||
<variablelist>
|
||||
<variablelist class='system-credentials'>
|
||||
<varlistentry>
|
||||
<term><literal>passwd.hashed-password.root</literal></term>
|
||||
<term><literal>passwd.plaintext-password.root</literal></term>
|
||||
<term><varname>passwd.hashed-password.root</varname></term>
|
||||
<term><varname>passwd.plaintext-password.root</varname></term>
|
||||
|
||||
<listitem><para>A hashed or plaintext version of the root password to use, in place of prompting the
|
||||
user. These credentials are equivalent to the same ones defined for the
|
||||
@ -320,7 +320,7 @@
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><literal>passwd.shell.root</literal></term>
|
||||
<term><varname>passwd.shell.root</varname></term>
|
||||
|
||||
<listitem><para>Specifies the shell binary to use for the specified account.
|
||||
Equivalent to the credential of the same name defined for the
|
||||
@ -329,20 +329,20 @@
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><literal>firstboot.locale</literal></term>
|
||||
<term><literal>firstboot.locale-messages</literal></term>
|
||||
<term><varname>firstboot.locale</varname></term>
|
||||
<term><varname>firstboot.locale-messages</varname></term>
|
||||
|
||||
<listitem><para>These credentials specify the locale settings to set during first boot, in place of
|
||||
prompting the user.</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><literal>firstboot.keymap</literal></term>
|
||||
<term><varname>firstboot.keymap</varname></term>
|
||||
|
||||
<listitem><para>This credential specifies the keyboard setting to set during first boot, in place of
|
||||
prompting the user.</para>
|
||||
|
||||
<para>Note the relationship to the <literal>vconsole.keymap</literal> credential understood by
|
||||
<para>Note the relationship to the <varname>vconsole.keymap</varname> credential understood by
|
||||
<citerefentry><refentrytitle>systemd-vconsole-setup.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>:
|
||||
both ultimately affect the same setting, but <varname>firstboot.keymap</varname> is written into
|
||||
<filename>/etc/vconsole.conf</filename> on first boot (if not already configured), and then read from
|
||||
@ -352,7 +352,7 @@
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><literal>firstboot.timezone</literal></term>
|
||||
<term><varname>firstboot.timezone</varname></term>
|
||||
|
||||
<listitem><para>This credential specifies the system timezone setting to set during first boot, in
|
||||
place of prompting the user.</para></listitem>
|
||||
|
@ -407,7 +407,7 @@ search foobar.com barbar.com
|
||||
(see <citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>1</manvolnum></citerefentry> for
|
||||
details). The following credentials are used when passed in:</para>
|
||||
|
||||
<variablelist>
|
||||
<variablelist class='system-credentials'>
|
||||
<varlistentry>
|
||||
<term><varname>network.dns</varname></term>
|
||||
<term><varname>network.search_domains</varname></term>
|
||||
|
@ -89,9 +89,9 @@
|
||||
(see <citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>1</manvolnum></citerefentry> for
|
||||
details). The following credentials are used when passed in:</para>
|
||||
|
||||
<variablelist>
|
||||
<variablelist class='system-credentials'>
|
||||
<varlistentry>
|
||||
<term><literal>sysctl.extra</literal></term>
|
||||
<term><varname>sysctl.extra</varname></term>
|
||||
|
||||
<listitem><para>The contents of this credential may contain additional lines to operate on. The
|
||||
credential contents should follow the same format as any other <filename>sysctl.d/</filename> drop-in
|
||||
|
@ -143,9 +143,9 @@
|
||||
(see <citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>1</manvolnum></citerefentry> for
|
||||
details). The following credentials are used when passed in:</para>
|
||||
|
||||
<variablelist>
|
||||
<variablelist class='system-credentials'>
|
||||
<varlistentry>
|
||||
<term><literal>passwd.hashed-password.<replaceable>user</replaceable></literal></term>
|
||||
<term><varname>passwd.hashed-password.<replaceable>user</replaceable></varname></term>
|
||||
<listitem><para>A UNIX hashed password string to use for the specified user, when creating an entry
|
||||
for it. This is particularly useful for the <literal>root</literal> user as it allows provisioning
|
||||
the default root password to use via a unit file drop-in or from a container manager passing in this
|
||||
@ -155,7 +155,7 @@
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><literal>passwd.plaintext-password.<replaceable>user</replaceable></literal></term>
|
||||
<term><varname>passwd.plaintext-password.<replaceable>user</replaceable></varname></term>
|
||||
|
||||
<listitem><para>Similar to <literal>passwd.hashed-password.<replaceable>user</replaceable></literal>
|
||||
but expect a literal, plaintext password, which is then automatically hashed before used for the user
|
||||
@ -166,13 +166,13 @@
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><literal>passwd.shell.<replaceable>user</replaceable></literal></term>
|
||||
<term><varname>passwd.shell.<replaceable>user</replaceable></varname></term>
|
||||
|
||||
<listitem><para>Specifies the shell binary to use for the specified account when creating it.</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><literal>sysusers.extra</literal></term>
|
||||
<term><varname>sysusers.extra</varname></term>
|
||||
|
||||
<listitem><para>The contents of this credential may contain additional lines to operate on. The
|
||||
credential contents should follow the same format as any other <filename>sysusers.d/</filename>
|
||||
|
@ -250,9 +250,9 @@
|
||||
(see <citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>1</manvolnum></citerefentry> for
|
||||
details). The following credentials are used when passed in:</para>
|
||||
|
||||
<variablelist>
|
||||
<variablelist class='system-credentials'>
|
||||
<varlistentry>
|
||||
<term><literal>tmpfiles.extra</literal></term>
|
||||
<term><varname>tmpfiles.extra</varname></term>
|
||||
|
||||
<listitem><para> The contents of this credential may contain additional lines to operate on. The
|
||||
credential contents should follow the same format as any other <filename>tmpfiles.d/</filename>
|
||||
|
@ -57,7 +57,7 @@
|
||||
(see <citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>1</manvolnum></citerefentry> for
|
||||
details). The following credentials are used when passed in:</para>
|
||||
|
||||
<variablelist>
|
||||
<variablelist class='system-credentials'>
|
||||
<varlistentry>
|
||||
<term><varname>vconsole.keymap</varname></term>
|
||||
<term><varname>vconsole.keymap_toggle</varname></term>
|
||||
|
@ -40,7 +40,7 @@
|
||||
<refsect1>
|
||||
<title>Well known system credentials</title>
|
||||
|
||||
<variablelist>
|
||||
<variablelist class='system-credentials'>
|
||||
<varlistentry>
|
||||
<term><varname>firstboot.keymap</varname></term>
|
||||
<listitem>
|
||||
@ -52,7 +52,7 @@
|
||||
|
||||
<varlistentry>
|
||||
<term><varname>firstboot.locale</varname></term>
|
||||
<term><varname>firstboot.locale-message</varname></term>
|
||||
<term><varname>firstboot.locale-messages</varname></term>
|
||||
<listitem>
|
||||
<para>The system locale to set (e.g. <literal>de_DE.UTF-8</literal>). Read by
|
||||
<citerefentry><refentrytitle>systemd-firstboot</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
|
||||
|
@ -1053,7 +1053,7 @@
|
||||
|
||||
<para>The service manager when run as PID 1 reads the following system credentials:</para>
|
||||
|
||||
<variablelist>
|
||||
<variablelist class='system-credentials'>
|
||||
<varlistentry>
|
||||
<term><varname>vmm.notify_socket</varname></term>
|
||||
<listitem>
|
||||
|
@ -334,7 +334,7 @@ static int prompt_locale(int rfd) {
|
||||
|
||||
r = read_credential("firstboot.locale-messages", (void**) &arg_locale_messages, NULL);
|
||||
if (r < 0)
|
||||
log_debug_errno(r, "Failed to read credential firstboot.locale-message, ignoring: %m");
|
||||
log_debug_errno(r, "Failed to read credential firstboot.locale-messages, ignoring: %m");
|
||||
else
|
||||
acquired_from_creds = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user