Download GNU Guix Reference Manual

Transcript
Chapter 7: GNU Distribution
91
pam-services (default: (base-pam-services))
Linux pluggable authentication module (PAM) services.
setuid-programs (default: %setuid-programs)
List of string-valued G-expressions denoting setuid programs.
Section 7.2.8 [Setuid Programs], page 108.
See
sudoers-file (default: %sudoers-specification)
The contents of the /etc/sudoers file as a file-like object (see Section 5.6
[G-Expressions], page 53).
This file specifies which users can use the sudo command, what they are
allowed to do, and what privileges they may gain. The default is that
only root and members of the wheel group may use sudo.
7.2.3 File Systems
The list of file systems to be mounted is specified in the file-systems field of the operating
system’s declaration (see Section 7.2.1 [Using the Configuration System], page 85). Each
file system is declared using the file-system form, like this:
(file-system
(mount-point "/home")
(device "/dev/sda3")
(type "ext4"))
As usual, some of the fields are mandatory—those shown in the example above—while
others can be omitted. These are described below.
[Data Type]
Objects of this type represent file systems to be mounted. They contain the following
members:
file-system
type
This is a string specifying the type of the file system—e.g., "ext4".
mount-point
This designates the place where the file system is to be mounted.
device
This names the “source” of the file system. By default it is the name of a
node under /dev, but its meaning depends on the title field described
below.
title (default: ’device)
This is a symbol that specifies how the device field is to be interpreted.
When it is the symbol device, then the device field is interpreted as
a file name; when it is label, then device is interpreted as a partition
label name; when it is uuid, device is interpreted as a partition unique
identifier (UUID).
UUIDs may be converted from their string representation (as shown by
the tune2fs -l command) using the uuid form, like this:
(file-system
(mount-point "/home")
(type "ext4")