summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-05-25 16:54:05 +0200
committerLudovic Courtès <ludo@gnu.org>2015-05-25 21:34:23 +0200
commitbf87f38ace7f0cbad5558c1ef027b9f02988e393 (patch)
treeaebed4cf8d58d098beb8d6b0e00d2c434e20d8d9 /doc
parent0899144f797b5a660bee17427a7d07d70ba89bc4 (diff)
system: Define '%base-user-accounts'.
* gnu/system/shadow.scm (%base-user-accounts): New variable. * gnu/system.scm (<operating-system>)[users]: Use it as the default value. * gnu/system/examples/bare-bones.tmpl (users): Use it. * gnu/system/examples/desktop.tmpl (users): Likewise. * doc/guix.texi (operating-system Reference, User Accounts): Adjust accordingly.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index cfb626c7057..6507b9c4364 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -4453,7 +4453,7 @@ A list of strings identifying devices to be used for ``swap space''
4453(@pxref{Memory Concepts,,, libc, The GNU C Library Reference Manual}). 4453(@pxref{Memory Concepts,,, libc, The GNU C Library Reference Manual}).
4454For example, @code{'("/dev/sda3")}. 4454For example, @code{'("/dev/sda3")}.
4455 4455
4456@item @code{users} (default: @code{'()}) 4456@item @code{users} (default: @code{%base-user-accounts})
4457@itemx @code{groups} (default: @var{%base-groups}) 4457@itemx @code{groups} (default: @var{%base-groups})
4458List of user accounts and groups. @xref{User Accounts}. 4458List of user accounts and groups. @xref{User Accounts}.
4459 4459
@@ -4832,6 +4832,14 @@ to be present on the system. This includes groups such as ``root'',
4832specific devices such as ``audio'', ``disk'', and ``cdrom''. 4832specific devices such as ``audio'', ``disk'', and ``cdrom''.
4833@end defvr 4833@end defvr
4834 4834
4835@defvr {Scheme Variable} %base-user-accounts
4836This is the list of basic system accounts that programs may expect to
4837find on a GNU/Linux system, such as the ``nobody'' account.
4838
4839Note that the ``root'' account is not included here. It is a
4840special-case and is automatically added whether or not it is specified.
4841@end defvr
4842
4835@node Locales 4843@node Locales
4836@subsection Locales 4844@subsection Locales
4837 4845