guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#42541] [PATCH 1/1] examples: Add password for Alice's brother.


From: Oleg Pykhalov
Subject: [bug#42541] [PATCH 1/1] examples: Add password for Alice's brother.
Date: Sun, 26 Jul 2020 01:10:22 +0300

* gnu/system/examples/desktop.tmpl (users)[bob]: Add password.
---
 gnu/system/examples/desktop.tmpl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/system/examples/desktop.tmpl b/gnu/system/examples/desktop.tmpl
index 3931bad60d..86bd1627a8 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 a password.
   (users (cons (user-account
                 (name "bob")
                 (comment "Alice's brother")
+                (password (crypt "alice" "$6$abc"))
                 (group "users")
                 (supplementary-groups '("wheel" "netdev"
                                         "audio" "video")))
-- 
2.27.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]