[PATCH 0/1] examples: Add password for Alice's brother.

  • Done
  • quality assurance status badge
Details
2 participants
  • Oleg Pykhalov
  • Ludovic Courtès
Owner
unassigned
Submitted by
Oleg Pykhalov
Severity
normal
O
O
Oleg Pykhalov wrote on 26 Jul 2020 00:04
(address . guix-patches@gnu.org)(name . Oleg Pykhalov)(address . go.wigust@gmail.com)
20200725220442.22512-1-go.wigust@gmail.com
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
O
O
Oleg Pykhalov wrote on 26 Jul 2020 00:10
[PATCH 1/1] examples: Add password for Alice's brother.
(address . 42541@debbugs.gnu.org)(name . Oleg Pykhalov)(address . go.wigust@gmail.com)
20200725221022.24369-1-go.wigust@gmail.com
* gnu/system/examples/desktop.tmpl (users)[bob]: Add password.
---
gnu/system/examples/desktop.tmpl | 2 ++
1 file changed, 2 insertions(+)

Toggle diff (18 lines)
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
L
L
Ludovic Courtès wrote on 29 Jul 2020 00:21
(name . Oleg Pykhalov)(address . go.wigust@gmail.com)(address . 42541@debbugs.gnu.org)
87h7trqo0u.fsf@gnu.org
Hi,

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

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

Good idea.

Toggle quote (2 lines)
> + ;; Create user `bob' with `alice' as a password.

s/a password/its initial password/

LGTM with this change, thanks!

Ludo’.
O
O
Oleg Pykhalov wrote on 29 Jul 2020 06:51
(address . 42541-done@debbugs.gnu.org)
87d04encu7.fsf@gmail.com
Pushed to master with s/a password/its initial password/ change.

Oleg.
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAl8hAEAACgkQFn+OpQAa
+px2Wg//U1APnb9Z6atFWnqVRISJXT7BcKqFJ5/pTY6mLhaNRSojNFuiA0cfHw09
Ifxv75CQOjnAEw3GVoMQwi5fCRYhFBISOdGIa7Q3pLGOFWieQUXqbw8vWlOuSmVR
VgcwDnK1GaYxSPyCvKZt8t3JrLPS+xZD+BUm9mrlS9aAbou26RYqObMOOFYSi64v
v8HkiyD2hN6MY9GZkILZ40Woj04MC4BRbUs6wpCmrLRwEYeqg3rMilgX2CLe8pSz
iHPpF+1Az32ScbwwwdOumeHTxqDloBHGD01/SrGDH+4rQRz87/lIIxmxQZYZQz7H
iReAp/shuZWmzYhxRST2rYJ5VihRF6Gxh50cSurgPLos578xidOqN2+a5KooPBZ4
PaRq2iuPePqsaS7t1G+8px9Xop8gYj9VJ8bZ8EAn/gNmeVBMl9QZdz3Auti3sDh3
Z4JcMOxJBnljLc48zhUZKRd38Xzn4A+MdJ4kp8nOXcpgps62/yfK2hZlBKP+dzJj
Igwj5M8vFF6yfBTlXYjRPK0hZ94+dbSPJlTWSQB+SFVIXCY+eNguGBM61xvmHbg3
FBi7BNT/YM8cas0Iu/D4u2lNnzYj3li8MKX27ynYDzuNfguzQqH+p3wdjsVHZnw/
yStZJgGAPMOsDJIaDaHcArfdb9Ns+84TUc2dyELHuiRU6/EjQao=
=hNtS
-----END PGP SIGNATURE-----

Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 42541@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 42541
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch