aboutsummaryrefslogtreecommitdiff
path: root/gnu/system
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2020-07-26 01:01:02 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2020-07-29 07:50:23 +0300
commit03914b9d8cc5918f495d1abeb97d783c8fc25fd7 (patch)
tree0a0e30b0371b7da6e5fd444e1ad695f05f401091 /gnu/system
parent6fd2ecedb6e3ed802580561cd98a925a68292182 (diff)
downloadguix-03914b9d8cc5918f495d1abeb97d783c8fc25fd7.tar
guix-03914b9d8cc5918f495d1abeb97d783c8fc25fd7.tar.gz
examples: Add password for Alice's brother.
* gnu/system/examples/desktop.tmpl (users)[bob]: Add password.
Diffstat (limited to 'gnu/system')
-rw-r--r--gnu/system/examples/desktop.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/system/examples/desktop.tmpl b/gnu/system/examples/desktop.tmpl
index 3931bad60d..716b9feb8d 100644
--- a/gnu/system/examples/desktop.tmpl
+++ b/gnu/system/examples/desktop.tmpl
@@ -42,9 +42,11 @@
(type "vfat")))
%base-file-systems))
+ ;; Create user `bob' with `alice' as its initial password.
(users (cons (user-account
(name "bob")
(comment "Alice's brother")
+ (password (crypt "alice" "$6$abc"))
(group "users")
(supplementary-groups '("wheel" "netdev"
"audio" "video")))