diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2015-05-25 16:54:05 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2015-05-25 21:34:23 +0200 |
| commit | bf87f38ace7f0cbad5558c1ef027b9f02988e393 (patch) | |
| tree | aebed4cf8d58d098beb8d6b0e00d2c434e20d8d9 /doc | |
| parent | 0899144f797b5a660bee17427a7d07d70ba89bc4 (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.texi | 10 |
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}). |
| 4454 | For example, @code{'("/dev/sda3")}. | 4454 | For 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}) |
| 4458 | List of user accounts and groups. @xref{User Accounts}. | 4458 | List 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'', | |||
| 4832 | specific devices such as ``audio'', ``disk'', and ``cdrom''. | 4832 | specific devices such as ``audio'', ``disk'', and ``cdrom''. |
| 4833 | @end defvr | 4833 | @end defvr |
| 4834 | 4834 | ||
| 4835 | @defvr {Scheme Variable} %base-user-accounts | ||
| 4836 | This is the list of basic system accounts that programs may expect to | ||
| 4837 | find on a GNU/Linux system, such as the ``nobody'' account. | ||
| 4838 | |||
| 4839 | Note that the ``root'' account is not included here. It is a | ||
| 4840 | special-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 | ||
