diff mbox series

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

Message ID 20200725221022.24369-1-go.wigust@gmail.com
State Accepted
Headers show
Series examples: Add password for Alice's brother. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job

Commit Message

Oleg Pykhalov July 25, 2020, 10:10 p.m. UTC
* gnu/system/examples/desktop.tmpl (users)[bob]: Add password.
---
 gnu/system/examples/desktop.tmpl | 2 ++
 1 file changed, 2 insertions(+)

Comments

Ludovic Courtès July 28, 2020, 10:21 p.m. UTC | #1
Hi,

Oleg Pykhalov <go.wigust@gmail.com> skribis:

> * gnu/system/examples/desktop.tmpl (users)[bob]: Add password.

Good idea.

> +  ;; Create user `bob' with `alice' as a password.

s/a password/its initial password/

LGTM with this change, thanks!

Ludo’.
Oleg Pykhalov July 29, 2020, 4:51 a.m. UTC | #2
Pushed to master with s/a password/its initial password/ change.

Oleg.
diff mbox series

Patch

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")))