From: Yu Watanabe Date: Thu, 31 May 2018 08:37:15 +0000 (+0900) Subject: man: mention that systemd-sysusers understand the specifier. X-Git-Tag: v239~177^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=33ab22fcb98278e6be235cc18fba362b4740669d;p=thirdparty%2Fsystemd.git man: mention that systemd-sysusers understand the specifier. --- diff --git a/man/sysusers.d.xml b/man/sysusers.d.xml index 71f6926ae84..534f008757d 100644 --- a/man/sysusers.d.xml +++ b/man/sysusers.d.xml @@ -229,6 +229,66 @@ u root 0 "Superuser" /root /bin/zsh + + Specifiers + + Specifiers can be used in the "Name", "ID", "GECOS", "Home directory", and "Shell" fields. + An unknown or unresolvable specifier is treated as invalid configuration. + The following expansions are understood: + + Specifiers available + + + + + + + Specifier + Meaning + Details + + + + + %b + Boot ID + The boot ID of the running system, formatted as string. See random4 for more information. + + + %H + Host name + The hostname of the running system. + + + %m + Machine ID + The machine ID of the running system, formatted as string. See machine-id5 for more information. + + + %T + Directory for temporary files + This is either /tmp or the path $TMPDIR, $TEMP or $TMP are set to. + + + %v + Kernel release + Identical to uname -r output. + + + %V + Directory for larger and persistent temporary files + This is either /var/tmp or the path $TMPDIR, $TEMP or $TMP are set to. + + + %% + Escaped % + Single percent sign. + + + +
+
+ Idempotence