Reference
accounts feature
What it doesPermalink to What it does#
Accounts, groups and login shells, rendered into /etc/passwd, /etc/group and /etc/shells.
Use itPermalink to Use it#
Every system has this feature: Vessel adds it to every configuration, so it never goes in the feature list. This part of a system configuration gives it items:
Example: feature-accounts-example
(import (vessel system))
;; An account for alice, with her own group and a place in wheel.
(system-configuration
users: (list (user-account name: "root" uid: 0 gid: 0 home: "/root")
(user-account name: "alice" uid: 1000 gid: 1000
home: "/home/alice"))
groups: (list (group name: "alice" gid: 1000)
(group name: "wheel" gid: 10 members: '("alice")))
features: %base-features)
Verified
A real system.sgl also sets the fields this example leaves out: the host name, kernel, boot loader and file systems. Every time the manual is built, it composes this configuration with Vessel's code and checks what the feature receives.
OptionsPermalink to Options#
None. This feature type takes no configuration.
What it addsPermalink to What it adds#
Its declared extensions target these feature types:
What it receivesPermalink to What it receives#
user-account: An account: its name and its UID are claims. Only the configuration's own users may share a primary group.group: A supplementary group: its name and GID are claims.
Used inPermalink to Used in#
No page refers to it yet.