unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#42541] [PATCH 0/1] examples: Add password for Alice's brother.
@ 2020-07-25 22:04 Oleg Pykhalov
  2020-07-25 22:10 ` [bug#42541] [PATCH 1/1] " Oleg Pykhalov
  0 siblings, 1 reply; 4+ messages in thread
From: Oleg Pykhalov @ 2020-07-25 22:04 UTC (permalink / raw)
  To: 42541; +Cc: Oleg Pykhalov

Hi,

This patch adds a password for user ‘bob’ in desktop.tmpl, because I cannot
login with GDM otherwise without auto-login.

We don't use auto-login because of this example provides XFCE or GNOME by
choosing them in GDM before login.

Oleg Pykhalov (1):
  examples: Add password for Alice's brother.

 gnu/system/examples/desktop.tmpl | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.27.0





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#42541] [PATCH 1/1] examples: Add password for Alice's brother.
  2020-07-25 22:04 [bug#42541] [PATCH 0/1] examples: Add password for Alice's brother Oleg Pykhalov
@ 2020-07-25 22:10 ` Oleg Pykhalov
  2020-07-28 22:21   ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Oleg Pykhalov @ 2020-07-25 22:10 UTC (permalink / raw)
  To: 42541; +Cc: Oleg Pykhalov

* 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





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#42541] [PATCH 1/1] examples: Add password for Alice's brother.
  2020-07-25 22:10 ` [bug#42541] [PATCH 1/1] " Oleg Pykhalov
@ 2020-07-28 22:21   ` Ludovic Courtès
  2020-07-29  4:51     ` bug#42541: " Oleg Pykhalov
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2020-07-28 22:21 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: 42541

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’.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#42541: [PATCH 1/1] examples: Add password for Alice's brother.
  2020-07-28 22:21   ` Ludovic Courtès
@ 2020-07-29  4:51     ` Oleg Pykhalov
  0 siblings, 0 replies; 4+ messages in thread
From: Oleg Pykhalov @ 2020-07-29  4:51 UTC (permalink / raw)
  To: 42541-done

[-- Attachment #1: Type: text/plain, Size: 72 bytes --]

Pushed to master with s/a password/its initial password/ change.

Oleg.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-07-29  4:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-25 22:04 [bug#42541] [PATCH 0/1] examples: Add password for Alice's brother Oleg Pykhalov
2020-07-25 22:10 ` [bug#42541] [PATCH 1/1] " Oleg Pykhalov
2020-07-28 22:21   ` Ludovic Courtès
2020-07-29  4:51     ` bug#42541: " Oleg Pykhalov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).