summaryrefslogtreecommitdiffstats
path: root/man/systemd-firstboot.xml
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2020-05-25 19:24:07 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2020-05-27 18:54:26 +0200
commit676339a1910a35a31f79d7bb00a6f603f18f4aa8 (patch)
tree34b900b2575a673b6c5ace8e2377df398ad0cb53 /man/systemd-firstboot.xml
parentRemove systemd-firstboot --force entry from TODO (diff)
downloadsystemd-676339a1910a35a31f79d7bb00a6f603f18f4aa8.tar.xz
systemd-676339a1910a35a31f79d7bb00a6f603f18f4aa8.zip
firstboot: Add --root-password-hashed option
Diffstat (limited to 'man/systemd-firstboot.xml')
-rw-r--r--man/systemd-firstboot.xml20
1 files changed, 10 insertions, 10 deletions
diff --git a/man/systemd-firstboot.xml b/man/systemd-firstboot.xml
index cf87249c4d..88d90e405a 100644
--- a/man/systemd-firstboot.xml
+++ b/man/systemd-firstboot.xml
@@ -150,18 +150,18 @@
<varlistentry>
<term><option>--root-password=<replaceable>PASSWORD</replaceable></option></term>
<term><option>--root-password-file=<replaceable>PATH</replaceable></option></term>
+ <term><option>--root-password-hashed=<replaceable>HASHED_PASSWORD</replaceable></option></term>
- <listitem><para>Sets the password of the system's root user.
- This creates a
+ <listitem><para>Sets the password of the system's root user. This creates a
<citerefentry project='die-net'><refentrytitle>shadow</refentrytitle><manvolnum>5</manvolnum></citerefentry>
- file. This setting exists in two forms:
- <option>--root-password=</option> accepts the password to set
- directly on the command line, and
- <option>--root-password-file=</option> reads it from a file.
- Note that it is not recommended to specify passwords on the
- command line, as other users might be able to see them simply
- by invoking
- <citerefentry project='die-net'><refentrytitle>ps</refentrytitle><manvolnum>1</manvolnum></citerefentry>.</para></listitem>
+ file. This setting exists in three forms: <option>--root-password=</option> accepts the password to
+ set directly on the command line, <option>--root-password-file=</option> reads it from a file and
+ <option>--root-password-hashed=</option> accepts an already hashed password on the command line. See
+ <citerefentry project='die-net'><refentrytitle>shadow</refentrytitle><manvolnum>5</manvolnum></citerefentry>
+ for more information on the format of the hashed password. Note that it is not recommended to specify
+ plaintext passwords on the command line, as other users might be able to see them simply by invoking
+ <citerefentry project='die-net'><refentrytitle>ps</refentrytitle><manvolnum>1</manvolnum></citerefentry>.
+ </para></listitem>
</varlistentry>
<varlistentry>