| 1 |
<?xml version='1.0'?> <!--*-nxml-*--> |
| 2 |
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" |
| 3 |
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> |
| 4 |
<!-- SPDX-License-Identifier: LGPL-2.1-or-later --> |
| 5 |
|
| 6 |
<refentry id="systemd.system-credentials" xmlns:xi="http://www.w3.org/2001/XInclude"> |
| 7 |
|
| 8 |
<refentryinfo> |
| 9 |
<title>systemd.system-credentials</title> |
| 10 |
<productname>systemd</productname> |
| 11 |
</refentryinfo> |
| 12 |
|
| 13 |
<refmeta> |
| 14 |
<refentrytitle>systemd.system-credentials</refentrytitle> |
| 15 |
<manvolnum>7</manvolnum> |
| 16 |
</refmeta> |
| 17 |
|
| 18 |
<refnamediv> |
| 19 |
<refname>systemd.system-credentials</refname> |
| 20 |
<refpurpose>System Credentials</refpurpose> |
| 21 |
</refnamediv> |
| 22 |
|
| 23 |
<refsect1> |
| 24 |
<title>Description</title> |
| 25 |
|
| 26 |
<para><ulink url="https://systemd.io/CREDENTIALS">System and Service Credentials</ulink> are data objects |
| 27 |
that may be passed into booted systems or system services as they are invoked. They can be acquired from |
| 28 |
various external sources, and propagated into the system and from there into system services. Credentials |
| 29 |
may optionally be encrypted with a machine-specific key and/or locked to the local TPM2 device, and are |
| 30 |
only decrypted when the consuming service is invoked.</para> |
| 31 |
|
| 32 |
<para>System credentials may be used to provision and configure various aspects of the system. Depending |
| 33 |
on the consuming component credentials are only used on initial invocations or are needed for all |
| 34 |
invocations.</para> |
| 35 |
|
| 36 |
<para>Credentials may be used for any kind of data, binary or text, and may carry passwords, secrets, |
| 37 |
certificates, cryptographic key material, identity information, configuration, and more.</para> |
| 38 |
</refsect1> |
| 39 |
|
| 40 |
<refsect1> |
| 41 |
<title>Well known system credentials</title> |
| 42 |
|
| 43 |
<variablelist class='system-credentials'> |
| 44 |
<varlistentry> |
| 45 |
<term><varname>firstboot.keymap</varname></term> |
| 46 |
<listitem> |
| 47 |
<para>The console key mapping to set (e.g. <literal>de</literal>). Read by |
| 48 |
<citerefentry><refentrytitle>systemd-firstboot</refentrytitle><manvolnum>1</manvolnum></citerefentry>, |
| 49 |
and only honoured if no console keymap has been configured before.</para> |
| 50 |
|
| 51 |
<xi:include href="version-info.xml" xpointer="v252"/> |
| 52 |
</listitem> |
| 53 |
</varlistentry> |
| 54 |
|
| 55 |
<varlistentry> |
| 56 |
<term><varname>firstboot.hostname</varname></term> |
| 57 |
|
| 58 |
<listitem><para>This credential specifies the static system hostname to set during first boot. The |
| 59 |
user will not be prompted for the hostname. Note that this controls the static hostname, not the transient |
| 60 |
hostname, and only has an effect on first boot, unlike <varname>system.hostname</varname> (see |
| 61 |
below). Read by |
| 62 |
<citerefentry><refentrytitle>systemd-firstboot</refentrytitle><manvolnum>1</manvolnum></citerefentry> |
| 63 |
and only honoured if no static hostname has been configured before.</para> |
| 64 |
|
| 65 |
<xi:include href="version-info.xml" xpointer="v261"/> |
| 66 |
</listitem> |
| 67 |
</varlistentry> |
| 68 |
|
| 69 |
<varlistentry> |
| 70 |
<term><varname>firstboot.locale</varname></term> |
| 71 |
<term><varname>firstboot.locale-messages</varname></term> |
| 72 |
<listitem> |
| 73 |
<para>The system locale to set (e.g. <literal>de_DE.UTF-8</literal>). Read by |
| 74 |
<citerefentry><refentrytitle>systemd-firstboot</refentrytitle><manvolnum>1</manvolnum></citerefentry>, |
| 75 |
and only honoured if no locale has been configured before. <varname>firstboot.locale</varname> sets |
| 76 |
<literal>LANG</literal>, while <varname>firstboot.locale-message</varname> sets |
| 77 |
<literal>LC_MESSAGES</literal>.</para> |
| 78 |
|
| 79 |
<xi:include href="version-info.xml" xpointer="v252"/> |
| 80 |
</listitem> |
| 81 |
</varlistentry> |
| 82 |
|
| 83 |
<varlistentry> |
| 84 |
<term><varname>firstboot.timezone</varname></term> |
| 85 |
<listitem> |
| 86 |
<para>The system timezone to set (e.g. <literal>Europe/Berlin</literal>). Read by |
| 87 |
<citerefentry><refentrytitle>systemd-firstboot</refentrytitle><manvolnum>1</manvolnum></citerefentry>, |
| 88 |
and only honoured if no system timezone has been configured before.</para> |
| 89 |
|
| 90 |
<xi:include href="version-info.xml" xpointer="v252"/> |
| 91 |
</listitem> |
| 92 |
</varlistentry> |
| 93 |
|
| 94 |
<varlistentry> |
| 95 |
<term><varname>firstboot.machine-tags</varname></term> |
| 96 |
<listitem> |
| 97 |
<para>The machine tags to set, as a colon-separated list (e.g. |
| 98 |
<literal>webserver:frontend:berlin</literal>). Read by |
| 99 |
<citerefentry><refentrytitle>systemd-firstboot</refentrytitle><manvolnum>1</manvolnum></citerefentry>, |
| 100 |
and only honoured if <filename>/etc/machine-info</filename> has not been configured before. Written |
| 101 |
into the <varname>TAGS=</varname> field of that file, see |
| 102 |
<citerefentry><refentrytitle>machine-info</refentrytitle><manvolnum>5</manvolnum></citerefentry> for |
| 103 |
details.</para> |
| 104 |
|
| 105 |
<xi:include href="version-info.xml" xpointer="v261"/> |
| 106 |
</listitem> |
| 107 |
</varlistentry> |
| 108 |
|
| 109 |
<varlistentry> |
| 110 |
<term><varname>login.issue</varname></term> |
| 111 |
<listitem> |
| 112 |
<para>The data of this credential is written to |
| 113 |
<filename>/etc/issue.d/50-provision.conf</filename>, if the file does not exist yet. |
| 114 |
<citerefentry project='man-pages'><refentrytitle>agetty</refentrytitle><manvolnum>8</manvolnum></citerefentry> |
| 115 |
reads this file and shows its contents at the login prompt of terminal logins. See |
| 116 |
<citerefentry project='man-pages'><refentrytitle>issue</refentrytitle><manvolnum>5</manvolnum></citerefentry> |
| 117 |
for details.</para> |
| 118 |
|
| 119 |
<para>Consumed by <filename>/usr/lib/tmpfiles.d/provision.conf</filename>, see |
| 120 |
<citerefentry><refentrytitle>tmpfiles.d</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para> |
| 121 |
|
| 122 |
<xi:include href="version-info.xml" xpointer="v252"/> |
| 123 |
</listitem> |
| 124 |
</varlistentry> |
| 125 |
|
| 126 |
<varlistentry> |
| 127 |
<term><varname>login.motd</varname></term> |
| 128 |
<listitem> |
| 129 |
<para>The data of this credential is written to <filename>/etc/motd.d/50-provision.conf</filename>, |
| 130 |
if the file does not exist yet. |
| 131 |
<citerefentry project='man-pages'><refentrytitle>pam_motd</refentrytitle><manvolnum>8</manvolnum></citerefentry> |
| 132 |
reads this file and shows its contents as "message of the day" during terminal logins. See |
| 133 |
<citerefentry project='man-pages'><refentrytitle>motd</refentrytitle><manvolnum>5</manvolnum></citerefentry> |
| 134 |
for details.</para> |
| 135 |
|
| 136 |
<para>Consumed by <filename>/usr/lib/tmpfiles.d/provision.conf</filename>, see |
| 137 |
<citerefentry><refentrytitle>tmpfiles.d</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para> |
| 138 |
|
| 139 |
<xi:include href="version-info.xml" xpointer="v252"/> |
| 140 |
</listitem> |
| 141 |
</varlistentry> |
| 142 |
|
| 143 |
<varlistentry> |
| 144 |
<term><varname>network.hosts</varname></term> |
| 145 |
<listitem> |
| 146 |
<para>The data of this credential is written to <filename>/etc/hosts</filename>, if the file |
| 147 |
does not exist yet. See |
| 148 |
<citerefentry project='man-pages'><refentrytitle>hosts</refentrytitle><manvolnum>5</manvolnum></citerefentry> |
| 149 |
for details.</para> |
| 150 |
|
| 151 |
<para>Consumed by <filename>/usr/lib/tmpfiles.d/provision.conf</filename>, see |
| 152 |
<citerefentry><refentrytitle>tmpfiles.d</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para> |
| 153 |
|
| 154 |
<xi:include href="version-info.xml" xpointer="v252"/> |
| 155 |
</listitem> |
| 156 |
</varlistentry> |
| 157 |
|
| 158 |
<varlistentry> |
| 159 |
<term><varname>network.dns</varname></term> |
| 160 |
<term><varname>network.search_domains</varname></term> |
| 161 |
<listitem> |
| 162 |
<para>DNS server information and search domains. Read by |
| 163 |
<citerefentry><refentrytitle>systemd-resolved.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para> |
| 164 |
|
| 165 |
<xi:include href="version-info.xml" xpointer="v253"/> |
| 166 |
</listitem> |
| 167 |
</varlistentry> |
| 168 |
|
| 169 |
<varlistentry> |
| 170 |
<term><varname>network.conf.*</varname></term> |
| 171 |
<term><varname>network.link.*</varname></term> |
| 172 |
<term><varname>network.netdev.*</varname></term> |
| 173 |
<term><varname>network.network.*</varname></term> |
| 174 |
<listitem> |
| 175 |
<para>Configures network devices. Read by |
| 176 |
<citerefentry><refentrytitle>systemd-network-generator.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>. |
| 177 |
These credentials should contain valid |
| 178 |
<citerefentry><refentrytitle>networkd.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>, |
| 179 |
<citerefentry><refentrytitle>systemd.link</refentrytitle><manvolnum>5</manvolnum></citerefentry>, |
| 180 |
<citerefentry><refentrytitle>systemd.netdev</refentrytitle><manvolnum>5</manvolnum></citerefentry>, |
| 181 |
<citerefentry><refentrytitle>systemd.network</refentrytitle><manvolnum>5</manvolnum></citerefentry> |
| 182 |
configuration data. From each matching credential a separate file is created. Example: the contents |
| 183 |
of a credential <filename>network.link.50-foobar</filename> will be copied into a file |
| 184 |
<filename>50-foobar.link</filename>.</para> |
| 185 |
|
| 186 |
<para>Note that the resulting files are created world-readable, it is hence recommended to not include |
| 187 |
secrets in these credentials, but supply them via separate credentials directly to |
| 188 |
<filename>systemd-networkd.service</filename>, e.g. <varname>network.wireguard.*</varname> |
| 189 |
as described below.</para> |
| 190 |
|
| 191 |
<xi:include href="version-info.xml" xpointer="v256"/> |
| 192 |
</listitem> |
| 193 |
</varlistentry> |
| 194 |
|
| 195 |
<varlistentry> |
| 196 |
<term><varname>network.wireguard.*</varname></term> |
| 197 |
<listitem> |
| 198 |
<para>Configures secrets for WireGuard netdevs. Read by |
| 199 |
<citerefentry><refentrytitle>systemd-networkd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>. |
| 200 |
For more information, refer to the <option>[WireGuard]</option> section of |
| 201 |
<citerefentry><refentrytitle>systemd.netdev</refentrytitle><manvolnum>5</manvolnum></citerefentry>. |
| 202 |
</para> |
| 203 |
|
| 204 |
<xi:include href="version-info.xml" xpointer="v256"/> |
| 205 |
</listitem> |
| 206 |
</varlistentry> |
| 207 |
|
| 208 |
<varlistentry> |
| 209 |
<term><varname>passwd.hashed-password.root</varname></term> |
| 210 |
<term><varname>passwd.plaintext-password.root</varname></term> |
| 211 |
<listitem> |
| 212 |
<para>May contain the password (either in UNIX hashed format, or in plaintext) for the root users. |
| 213 |
Read by both |
| 214 |
<citerefentry><refentrytitle>systemd-firstboot</refentrytitle><manvolnum>1</manvolnum></citerefentry> |
| 215 |
and |
| 216 |
<citerefentry><refentrytitle>systemd-sysusers</refentrytitle><manvolnum>8</manvolnum></citerefentry>, |
| 217 |
and only honoured if no root password has been configured before.</para> |
| 218 |
|
| 219 |
<xi:include href="version-info.xml" xpointer="v252"/> |
| 220 |
</listitem> |
| 221 |
</varlistentry> |
| 222 |
|
| 223 |
<varlistentry> |
| 224 |
<term><varname>passwd.shell.root</varname></term> |
| 225 |
<listitem> |
| 226 |
<para>The path to the shell program (e.g. <literal>/bin/bash</literal>) for the root user. Read by |
| 227 |
both |
| 228 |
<citerefentry><refentrytitle>systemd-firstboot</refentrytitle><manvolnum>1</manvolnum></citerefentry> |
| 229 |
and |
| 230 |
<citerefentry><refentrytitle>systemd-sysusers</refentrytitle><manvolnum>8</manvolnum></citerefentry>, |
| 231 |
and only honoured if no root shell has been configured before.</para> |
| 232 |
|
| 233 |
<xi:include href="version-info.xml" xpointer="v252"/> |
| 234 |
</listitem> |
| 235 |
</varlistentry> |
| 236 |
|
| 237 |
<varlistentry> |
| 238 |
<term><varname>ssh.ephemeral-authorized_keys-all</varname></term> |
| 239 |
|
| 240 |
<listitem> |
| 241 |
<para>Provides additional public keys, given in the customary <filename>authorized_keys</filename> |
| 242 |
format, for all users, for incoming connections via the generated <constant>AF_VSOCK</constant> |
| 243 |
and <constant>AF_UNIX</constant> socket units.</para> |
| 244 |
|
| 245 |
<para>The intended use of this is for a host system (in either VM or container configurations) to |
| 246 |
generate a keypair and inject the public key into the guest, using the private key to connect to |
| 247 |
any user account on the guest via ssh, without further authentication.</para> |
| 248 |
|
| 249 |
<para>Consumed by |
| 250 |
<citerefentry><refentrytitle>systemd-ssh-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para> |
| 251 |
|
| 252 |
<xi:include href="version-info.xml" xpointer="v256"/> |
| 253 |
</listitem> |
| 254 |
</varlistentry> |
| 255 |
|
| 256 |
<varlistentry> |
| 257 |
<term><varname>ssh.authorized_keys.root</varname></term> |
| 258 |
<listitem> |
| 259 |
<para>The data of this credential is written to <filename>/root/.ssh/authorized_keys</filename>, if |
| 260 |
the file does not exist yet. This allows provisioning SSH access for the system's root user.</para> |
| 261 |
|
| 262 |
<para>Consumed by <filename>/usr/lib/tmpfiles.d/provision.conf</filename>, see |
| 263 |
<citerefentry><refentrytitle>tmpfiles.d</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para> |
| 264 |
|
| 265 |
<xi:include href="version-info.xml" xpointer="v252"/> |
| 266 |
</listitem> |
| 267 |
</varlistentry> |
| 268 |
|
| 269 |
<varlistentry> |
| 270 |
<term><varname>ssh.listen</varname></term> |
| 271 |
<listitem> |
| 272 |
<para>May be used to configure SSH sockets the system shall be reachable on. See |
| 273 |
<citerefentry><refentrytitle>systemd-ssh-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry> |
| 274 |
for details.</para> |
| 275 |
|
| 276 |
<xi:include href="version-info.xml" xpointer="v256"/> |
| 277 |
</listitem> |
| 278 |
</varlistentry> |
| 279 |
|
| 280 |
<varlistentry> |
| 281 |
<term><varname>sysusers.extra</varname></term> |
| 282 |
<listitem> |
| 283 |
<para>Additional |
| 284 |
<citerefentry><refentrytitle>sysusers.d</refentrytitle><manvolnum>5</manvolnum></citerefentry> |
| 285 |
lines to process during boot.</para> |
| 286 |
|
| 287 |
<xi:include href="version-info.xml" xpointer="v252"/> |
| 288 |
</listitem> |
| 289 |
</varlistentry> |
| 290 |
|
| 291 |
<varlistentry> |
| 292 |
<term><varname>sysctl.extra</varname></term> |
| 293 |
<listitem> |
| 294 |
<para>Additional |
| 295 |
<citerefentry><refentrytitle>sysctl.d</refentrytitle><manvolnum>5</manvolnum></citerefentry> lines |
| 296 |
to process during boot.</para> |
| 297 |
|
| 298 |
<xi:include href="version-info.xml" xpointer="v252"/> |
| 299 |
</listitem> |
| 300 |
</varlistentry> |
| 301 |
|
| 302 |
<varlistentry> |
| 303 |
<term><varname>tmpfiles.extra</varname></term> |
| 304 |
<listitem> |
| 305 |
<para>Additional |
| 306 |
<citerefentry><refentrytitle>tmpfiles.d</refentrytitle><manvolnum>5</manvolnum></citerefentry> |
| 307 |
lines to process during boot.</para> |
| 308 |
|
| 309 |
<xi:include href="version-info.xml" xpointer="v252"/> |
| 310 |
</listitem> |
| 311 |
</varlistentry> |
| 312 |
|
| 313 |
<varlistentry> |
| 314 |
<term><varname>fstab.extra</varname></term> |
| 315 |
|
| 316 |
<listitem> |
| 317 |
<para>Additional mounts to establish at boot. For details, see |
| 318 |
<citerefentry><refentrytitle>systemd-fstab-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para> |
| 319 |
|
| 320 |
<xi:include href="version-info.xml" xpointer="v254"/> |
| 321 |
</listitem> |
| 322 |
</varlistentry> |
| 323 |
|
| 324 |
<varlistentry> |
| 325 |
<term><varname>vconsole.keymap</varname></term> |
| 326 |
<term><varname>vconsole.keymap_toggle</varname></term> |
| 327 |
<term><varname>vconsole.font</varname></term> |
| 328 |
<term><varname>vconsole.font_map</varname></term> |
| 329 |
<term><varname>vconsole.font_unimap</varname></term> |
| 330 |
<listitem> |
| 331 |
<para>Console settings to apply, see |
| 332 |
<citerefentry><refentrytitle>systemd-vconsole-setup.service</refentrytitle><manvolnum>8</manvolnum></citerefentry> for details.</para> |
| 333 |
|
| 334 |
<xi:include href="version-info.xml" xpointer="v253"/> |
| 335 |
</listitem> |
| 336 |
</varlistentry> |
| 337 |
|
| 338 |
<varlistentry> |
| 339 |
<term><varname>getty.auto</varname></term> |
| 340 |
|
| 341 |
<listitem><para>Used for controlling the execution mode of <filename>systemd-getty-generator</filename>. See |
| 342 |
<citerefentry><refentrytitle>systemd-getty-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry> for details.</para> |
| 343 |
|
| 344 |
<xi:include href="version-info.xml" xpointer="v258"/></listitem> |
| 345 |
</varlistentry> |
| 346 |
|
| 347 |
<varlistentry> |
| 348 |
<term><varname>getty.ttys.serial</varname></term> |
| 349 |
<term><varname>getty.ttys.container</varname></term> |
| 350 |
|
| 351 |
<listitem><para>Used for spawning additional login prompts, see |
| 352 |
<citerefentry><refentrytitle>systemd-getty-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry> for details.</para> |
| 353 |
|
| 354 |
<xi:include href="version-info.xml" xpointer="v254"/></listitem> |
| 355 |
</varlistentry> |
| 356 |
|
| 357 |
<varlistentry> |
| 358 |
<term><varname>journal.forward_to_socket</varname></term> |
| 359 |
<listitem> |
| 360 |
<para>Used by |
| 361 |
<citerefentry><refentrytitle>systemd-journald</refentrytitle><manvolnum>8</manvolnum></citerefentry> |
| 362 |
to determine where to forward log messages for socket forwarding, see |
| 363 |
<citerefentry><refentrytitle>journald.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry> for details.</para> |
| 364 |
|
| 365 |
<xi:include href="version-info.xml" xpointer="v256"/> |
| 366 |
</listitem> |
| 367 |
</varlistentry> |
| 368 |
|
| 369 |
<varlistentry> |
| 370 |
<term><varname>journal.storage</varname></term> |
| 371 |
<listitem> |
| 372 |
<para>Used by |
| 373 |
<citerefentry><refentrytitle>systemd-journald</refentrytitle><manvolnum>8</manvolnum></citerefentry> |
| 374 |
to determine where to store journal files, see |
| 375 |
<citerefentry><refentrytitle>journald.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry> for details.</para> |
| 376 |
|
| 377 |
<xi:include href="version-info.xml" xpointer="v256"/> |
| 378 |
</listitem> |
| 379 |
</varlistentry> |
| 380 |
|
| 381 |
<varlistentry> |
| 382 |
<term><varname>vmm.notify_socket</varname></term> |
| 383 |
<listitem> |
| 384 |
<para>Configures an |
| 385 |
<citerefentry><refentrytitle>sd_notify</refentrytitle><manvolnum>3</manvolnum></citerefentry> |
| 386 |
compatible <constant>AF_VSOCK</constant> socket the service manager will report status information, |
| 387 |
ready notification and exit status on. For details see |
| 388 |
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>.</para> |
| 389 |
|
| 390 |
<xi:include href="version-info.xml" xpointer="v253"/> |
| 391 |
</listitem> |
| 392 |
</varlistentry> |
| 393 |
|
| 394 |
<varlistentry> |
| 395 |
<term><varname>shell.prompt.prefix</varname></term> |
| 396 |
<term><varname>shell.prompt.suffix</varname></term> |
| 397 |
<listitem> |
| 398 |
<para>Defines strings to prefix and suffix any interactive UNIX shell prompt with. For details see |
| 399 |
<citerefentry><refentrytitle>pam_systemd</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para> |
| 400 |
|
| 401 |
<xi:include href="version-info.xml" xpointer="v257"/> |
| 402 |
</listitem> |
| 403 |
</varlistentry> |
| 404 |
|
| 405 |
<varlistentry> |
| 406 |
<term><varname>shell.welcome</varname></term> |
| 407 |
<listitem> |
| 408 |
<para>Define a string to print when an interactive UNIX shell initializes. For details see |
| 409 |
<citerefentry><refentrytitle>pam_systemd</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para> |
| 410 |
|
| 411 |
<xi:include href="version-info.xml" xpointer="v257"/> |
| 412 |
</listitem> |
| 413 |
</varlistentry> |
| 414 |
|
| 415 |
<varlistentry> |
| 416 |
<term><varname>system.machine_id</varname></term> |
| 417 |
<listitem> |
| 418 |
<para>Takes a 128bit ID to initialize the machine ID from (if it is not set yet). Interpreted by |
| 419 |
the service manager (PID 1). For details see |
| 420 |
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>.</para> |
| 421 |
|
| 422 |
<xi:include href="version-info.xml" xpointer="v254"/> |
| 423 |
</listitem> |
| 424 |
</varlistentry> |
| 425 |
|
| 426 |
<varlistentry> |
| 427 |
<term><varname>system.hostname</varname></term> |
| 428 |
<listitem> |
| 429 |
<para>Accepts a (transient) hostname to configure during early boot. The static hostname specified |
| 430 |
in <filename>/etc/hostname</filename>, if configured, takes precedence over this setting. |
| 431 |
Interpreted by the service manager (PID 1). For details see |
| 432 |
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>. Also |
| 433 |
see <varname>firstboot.hostname</varname> above.</para> |
| 434 |
|
| 435 |
<xi:include href="version-info.xml" xpointer="v254"/> |
| 436 |
</listitem> |
| 437 |
</varlistentry> |
| 438 |
|
| 439 |
<varlistentry> |
| 440 |
<term><varname>home.add-signing-key.*</varname></term> |
| 441 |
<listitem> |
| 442 |
<para>Adds a new signing key for user records to the system. The credential contents should contain |
| 443 |
a user signing key, for example as reported by <command>homectl get-signing-key</command>. Multiple |
| 444 |
keys may be specified, and they will be put in place under the name of the credential name suffix |
| 445 |
(which must itself carry the <filename>.public</filename> suffix). For details see |
| 446 |
<citerefentry><refentrytitle>homectl</refentrytitle><manvolnum>1</manvolnum></citerefentry>.</para> |
| 447 |
|
| 448 |
<xi:include href="version-info.xml" xpointer="v258"/> |
| 449 |
</listitem> |
| 450 |
</varlistentry> |
| 451 |
|
| 452 |
<varlistentry> |
| 453 |
<term><varname>home.create.*</varname></term> |
| 454 |
<listitem> |
| 455 |
<para>Creates a new home area for the specified user with the user record data passed in. For |
| 456 |
details see |
| 457 |
<citerefentry><refentrytitle>homectl</refentrytitle><manvolnum>1</manvolnum></citerefentry>.</para> |
| 458 |
|
| 459 |
<xi:include href="version-info.xml" xpointer="v256"/> |
| 460 |
</listitem> |
| 461 |
</varlistentry> |
| 462 |
|
| 463 |
<varlistentry> |
| 464 |
<term><varname>home.register.*</varname></term> |
| 465 |
<listitem> |
| 466 |
<para>Registers an existing home area for the specified user with the user record data passed in. For details |
| 467 |
see |
| 468 |
<citerefentry><refentrytitle>homectl</refentrytitle><manvolnum>1</manvolnum></citerefentry>.</para> |
| 469 |
|
| 470 |
<xi:include href="version-info.xml" xpointer="v258"/> |
| 471 |
</listitem> |
| 472 |
</varlistentry> |
| 473 |
|
| 474 |
<varlistentry> |
| 475 |
<term><varname>cryptsetup.passphrase</varname></term> |
| 476 |
<term><varname>cryptsetup.tpm2-pin</varname></term> |
| 477 |
<term><varname>cryptsetup.fido2-pin</varname></term> |
| 478 |
<term><varname>cryptsetup.pkcs11-pin</varname></term> |
| 479 |
<term><varname>cryptsetup.luks2-pin</varname></term> |
| 480 |
<listitem> |
| 481 |
<para>Specifies the passphrase/PINs to use for unlock encrypted storage volumes. For details see |
| 482 |
<citerefentry><refentrytitle>systemd-cryptsetup</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para> |
| 483 |
|
| 484 |
<xi:include href="version-info.xml" xpointer="v256"/> |
| 485 |
</listitem> |
| 486 |
</varlistentry> |
| 487 |
|
| 488 |
<varlistentry> |
| 489 |
<term><varname>systemd.extra-unit.*</varname></term> |
| 490 |
<term><varname>systemd.unit-dropin.*</varname></term> |
| 491 |
|
| 492 |
<listitem><para>These credentials specify extra units and drop-ins to add to the system. For details |
| 493 |
see <citerefentry><refentrytitle>systemd-debug-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para> |
| 494 |
|
| 495 |
<xi:include href="version-info.xml" xpointer="v256"/></listitem> |
| 496 |
</varlistentry> |
| 497 |
|
| 498 |
<varlistentry> |
| 499 |
<term><varname>udev.conf.*</varname></term> |
| 500 |
<term><varname>udev.rules.*</varname></term> |
| 501 |
|
| 502 |
<listitem> |
| 503 |
<para>Configures udev configuration file and udev rules. Read by |
| 504 |
<filename>systemd-udev-load-credentials.service</filename>, which invokes |
| 505 |
<command>udevadm control --load-credentials</command>. These credentials directly translate to a |
| 506 |
matching |
| 507 |
<citerefentry><refentrytitle>udev.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry> or |
| 508 |
<citerefentry><refentrytitle>udev</refentrytitle><manvolnum>7</manvolnum></citerefentry> rules |
| 509 |
file. Example: the contents of a credential |
| 510 |
<filename>udev.conf.50-foobar</filename> will be copied into a file |
| 511 |
<filename>/run/udev/udev.conf.d/50-foobar.conf</filename>, and |
| 512 |
<filename>udev.rules.50-foobar</filename> will be copied into a file |
| 513 |
<filename>/run/udev/rules.d/50-foobar.rules</filename>. See |
| 514 |
<citerefentry><refentrytitle>udev</refentrytitle><manvolnum>7</manvolnum></citerefentry>, |
| 515 |
<citerefentry><refentrytitle>udev.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>, and |
| 516 |
<citerefentry><refentrytitle>udevadm</refentrytitle><manvolnum>8</manvolnum></citerefentry> |
| 517 |
for details.</para> |
| 518 |
|
| 519 |
<xi:include href="version-info.xml" xpointer="v256"/> |
| 520 |
</listitem> |
| 521 |
</varlistentry> |
| 522 |
|
| 523 |
<varlistentry> |
| 524 |
<term><varname>import.pull</varname></term> |
| 525 |
<listitem> |
| 526 |
<para>Specified disk images (tarballs and DDIs) to automatically download and install at boot. For details see |
| 527 |
<citerefentry><refentrytitle>systemd-import-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para> |
| 528 |
|
| 529 |
<xi:include href="version-info.xml" xpointer="v257"/> |
| 530 |
</listitem> |
| 531 |
</varlistentry> |
| 532 |
|
| 533 |
<varlistentry> |
| 534 |
<term><varname>userdb.user.*</varname></term> |
| 535 |
<term><varname>userdb.group.*</varname></term> |
| 536 |
<term><varname>userdb.transient.user.*</varname></term> |
| 537 |
<term><varname>userdb.transient.group.*</varname></term> |
| 538 |
|
| 539 |
<listitem> |
| 540 |
<para>Configure JSON user and group records. Read by |
| 541 |
<filename>systemd-userdb-load-credentials.service</filename>, which invokes |
| 542 |
<command>userdbctl load-credentials</command>. These credentials directly translate to |
| 543 |
matching |
| 544 |
<ulink url="https://systemd.io/USER_RECORD">JSON User</ulink> and |
| 545 |
<ulink url="https://systemd.io/GROUP_RECORD">JSON Group</ulink> records. Example: the contents of a |
| 546 |
credential <filename>userdb.user.foobar</filename> will be copied into a file |
| 547 |
<filename>/etc/userdb/foobar.user</filename>, and |
| 548 |
<filename>userdb.group.foobar</filename> will be copied into a file |
| 549 |
<filename>/etc/userdb/foobar.group</filename>. Symlinks for the uid/gid will also be created in |
| 550 |
<filename>/etc/userdb/</filename>, as well as the corresponding<filename>.membership</filename> |
| 551 |
files. See |
| 552 |
<citerefentry><refentrytitle>systemd-userdbd.service</refentrytitle><manvolnum>7</manvolnum></citerefentry>, |
| 553 |
<citerefentry><refentrytitle>nss-systemd</refentrytitle><manvolnum>8</manvolnum></citerefentry>, and |
| 554 |
<citerefentry><refentrytitle>userdbctl</refentrytitle><manvolnum>1</manvolnum></citerefentry> |
| 555 |
for details.</para> |
| 556 |
|
| 557 |
<para>Any passed user records must contain uid and gid fields. Any passed group records must |
| 558 |
contain a gid field. For both user and group records, the credential suffix (for |
| 559 |
<literal>userdb.user.foobar</literal> the suffix is <literal>foobar</literal>) must match the user |
| 560 |
or group name field from the user or group record.</para> |
| 561 |
|
| 562 |
<para>Note that the records created for <varname>userdb.user.*</varname> and |
| 563 |
<varname>userdb.group.*</varname> credentials are created in <filename>/etc/userdb/</filename> and |
| 564 |
the records created for <varname>userdb.transient.user.*</varname> and |
| 565 |
<varname>userdb.transient.group.*</varname> are created in <filename>/run/userdb/</filename> |
| 566 |
(<filename>/etc/passwd</filename> and <filename>/etc/group</filename> are not modified).</para> |
| 567 |
|
| 568 |
<xi:include href="version-info.xml" xpointer="v258"/> |
| 569 |
</listitem> |
| 570 |
</varlistentry> |
| 571 |
|
| 572 |
<varlistentry> |
| 573 |
<term><varname>fsck.*</varname></term> |
| 574 |
|
| 575 |
<listitem> |
| 576 |
<para>Read by <filename>[email protected]</filename>, |
| 577 |
<filename>systemd-fsck-root.service</filename>, and <filename>systemd-fsck-usr.service</filename>. |
| 578 |
See |
| 579 |
<citerefentry><refentrytitle>[email protected]</refentrytitle><manvolnum>8</manvolnum></citerefentry> |
| 580 |
for more details.</para> |
| 581 |
|
| 582 |
<xi:include href="version-info.xml" xpointer="v258"/> |
| 583 |
</listitem> |
| 584 |
</varlistentry> |
| 585 |
|
| 586 |
<varlistentry> |
| 587 |
<term><varname>quotacheck.*</varname></term> |
| 588 |
|
| 589 |
<listitem> |
| 590 |
<para>Read by <filename>[email protected]</filename> and |
| 591 |
<filename>systemd-quotacheck-root.service</filename>. See |
| 592 |
<citerefentry><refentrytitle>systemd-quotacheck</refentrytitle><manvolnum>8</manvolnum></citerefentry> |
| 593 |
for more details.</para> |
| 594 |
|
| 595 |
<xi:include href="version-info.xml" xpointer="v258"/> |
| 596 |
</listitem> |
| 597 |
</varlistentry> |
| 598 |
|
| 599 |
<varlistentry> |
| 600 |
<term><varname>imds.*</varname></term> |
| 601 |
|
| 602 |
<listitem> |
| 603 |
<para>Read by <citerefentry><refentrytitle>[email protected]</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para> |
| 604 |
|
| 605 |
<xi:include href="version-info.xml" xpointer="v261"/> |
| 606 |
</listitem> |
| 607 |
</varlistentry> |
| 608 |
</variablelist> |
| 609 |
</refsect1> |
| 610 |
|
| 611 |
<refsect1> |
| 612 |
<title>See Also</title> |
| 613 |
<para><simplelist type="inline"> |
| 614 |
<member><citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry></member> |
| 615 |
<member><citerefentry><refentrytitle>kernel-command-line</refentrytitle><manvolnum>7</manvolnum></citerefentry></member> |
| 616 |
<member><citerefentry><refentrytitle>smbios-type-11</refentrytitle><manvolnum>7</manvolnum></citerefentry></member> |
| 617 |
</simplelist></para> |
| 618 |
</refsect1> |
| 619 |
|
| 620 |
</refentry> |