GNU logs - #29706, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#29706: GuixSD: Please add the ability to change shells for root
Resent-From: BJH2017 <brentonhorne77@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 14 Dec 2017 08:39:02 +0000
Resent-Message-ID: <handler.29706.B.151324072011268 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 29706
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 29706 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.151324072011268
          (code B ref -1); Thu, 14 Dec 2017 08:39:02 +0000
Received: (at submit) by debbugs.gnu.org; 14 Dec 2017 08:38:40 +0000
Received: from localhost ([127.0.0.1]:32973 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ePP2M-0002ve-EU
	for submit <at> debbugs.gnu.org; Thu, 14 Dec 2017 03:38:38 -0500
Received: from eggs.gnu.org ([208.118.235.92]:35908)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <brentonhorne77@HIDDEN>) id 1ePP2K-0002vP-Fn
 for submit <at> debbugs.gnu.org; Thu, 14 Dec 2017 03:38:36 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <brentonhorne77@HIDDEN>) id 1ePP2E-0000ms-IG
 for submit <at> debbugs.gnu.org; Thu, 14 Dec 2017 03:38:31 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_05,
 FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:60000)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <brentonhorne77@HIDDEN>)
 id 1ePP2E-0000mc-EL
 for submit <at> debbugs.gnu.org; Thu, 14 Dec 2017 03:38:30 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55095)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <brentonhorne77@HIDDEN>) id 1ePP2D-0004F4-FH
 for bug-guix@HIDDEN; Thu, 14 Dec 2017 03:38:30 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <brentonhorne77@HIDDEN>) id 1ePP2C-0000k2-Rr
 for bug-guix@HIDDEN; Thu, 14 Dec 2017 03:38:29 -0500
Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:33205)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <brentonhorne77@HIDDEN>)
 id 1ePP2C-0000hS-Kg
 for bug-guix@HIDDEN; Thu, 14 Dec 2017 03:38:28 -0500
Received: by mail-wm0-x22e.google.com with SMTP id g130so25270073wme.0
 for <bug-guix@HIDDEN>; Thu, 14 Dec 2017 00:38:28 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=5B40LwPF75pzi4anE3kWISiSLjoQu5zeSuWMG7gol2k=;
 b=HqLpLh60jkoBYf4Ni8pNVD0KYP+f5Lmzd03UYsGvS03xlck625ykuo+jWuXvcgG16i
 YNW/YgU0RYbmy0I01EYPA/sZMOigDNyqN/lIdd55nQ0oxYp07sp7L16cot6BrdLe1Xno
 i2b/ywPuGemKrUmaIR4rQSJIMLIzppA803QZ1ga07WyNd1vfEt7rsu3JULqanD1Ha7Rr
 ExvtJ15e4vUhm75YppjUNWRrdN4i7LZ5SBiOmbWh8eVDTK1s3a1UXfdV6sYpg2Zmq1ph
 rivFx25ACJPLhK4IoCPkDuBardt+XW7XNnTKpXI8qdWnCacAUC4vfRyL8OqJeMseJJOB
 QpUw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=5B40LwPF75pzi4anE3kWISiSLjoQu5zeSuWMG7gol2k=;
 b=ekMlave+G0StqZmfU+N272S9UM9v0P0Syje3FFhr2Dp4TbsPNJ/l7Y3SBEJ0YBZ8P0
 4ktY8+C1jbjPXYCpByxf/2Yx3H5pPQOfGjDyT6cahIMdBCoX0Xqv9vfQBavp3TPKBdYa
 FiyVg3pdtsgMLDFwr0XJCZhiqrWax81fX5/W2nb7Rrf3xFgjhdhksjyQjsfpSELEU5Q9
 /3t3kAVk8/X6vipz8+H3YfkztFtMuBdH08IHpm2jExN4l1zHyLv+M/KLkkxoQ7XDltQy
 q6sAMrQXaVhjwu0YEtS0W2eCUJzHV7w5dAS+CznVBNvGye0w+kiHucbwmWzRcKBmxrtm
 rAkw==
X-Gm-Message-State: AKGB3mKHSn4w8266MyX1Ou+5Kb3Kn1L9eQxmdYJ+F5jq8Tt0aXndIT8z
 IFUUV6ZKDLYiFloYc7v97M6d3LtcrILeDyscUu4=
X-Google-Smtp-Source: ACJfBovLwVY+L/f9vLzCa/NRMjCqViI2u8t94cO8sQghIKY/eyBD5djtPxRgIHu2HUyPca0IDOTXJd/v0JhIFFPSQLU=
X-Received: by 10.80.195.204 with SMTP id i12mr11072026edf.272.1513240706871; 
 Thu, 14 Dec 2017 00:38:26 -0800 (PST)
MIME-Version: 1.0
Received: by 10.80.143.166 with HTTP; Thu, 14 Dec 2017 00:38:26 -0800 (PST)
From: BJH2017 <brentonhorne77@HIDDEN>
Date: Thu, 14 Dec 2017 18:38:26 +1000
Message-ID: <CANb+58+BMeVR0Vw5GenuejY5GTcovFsbn-hkw5+LZ5yQ6MpQaQ@HIDDEN>
Content-Type: multipart/alternative; boundary="94eb2c1ccc62caf7a6056048ce9b"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -3.8 (---)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.8 (---)

--94eb2c1ccc62caf7a6056048ce9b
Content-Type: text/plain; charset="UTF-8"

Using the configuration file /etc/config.scm it is fairly straight forward
to change shells for a given user account on GuixSD 0.14.0, such as using:

(operating system
   (users (cons (user-account
                         (name "user")
                         ....
                         (shell "/run/current-system/profile/bin/zsh")))))

, but for root this is impossible. Is it possible this feature could be
added?

--94eb2c1ccc62caf7a6056048ce9b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: base64

PGRpdiBkaXI9Imx0ciI+PGRpdj48ZGl2PjxkaXY+VXNpbmcgdGhlIGNvbmZpZ3VyYXRpb24gZmls
ZSAvZXRjL2NvbmZpZy5zY20gaXQgaXMgZmFpcmx5IHN0cmFpZ2h0IGZvcndhcmQgdG8gY2hhbmdl
IHNoZWxscyBmb3IgYSBnaXZlbiB1c2VyIGFjY291bnQgb24gR3VpeFNEIDAuMTQuMCwgc3VjaCBh
cyB1c2luZzo8YnI+PGJyPjwvZGl2PihvcGVyYXRpbmcgc3lzdGVtPGJyPjwvZGl2PsKgwqAgKHVz
ZXJzIChjb25zICh1c2VyLWFjY291bnQ8L2Rpdj48ZGl2PsKgIMKgIMKgIMKgIMKgIMKgIMKgIMKg
IMKgIMKgIMKgIMKgwqAgKG5hbWUgJnF1b3Q7dXNlciZxdW90Oyk8L2Rpdj48ZGl2PsKgIMKgIMKg
IMKgIMKgIMKgIMKgIMKgIMKgIMKgIMKgIMKgwqAgLi4uLiDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg
wqDCoMKgwqDCoMKgwqDCoMKgwqAgPGJyPjwvZGl2PjxkaXY+wqDCoMKgwqDCoMKgwqDCoMKgwqDC
oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIChzaGVsbCAmcXVvdDsvcnVuL2N1cnJlbnQtc3lz
dGVtL3Byb2ZpbGUvYmluL3pzaCZxdW90OykpKSkpPGJyPjwvZGl2Pjxicj48ZGl2PjxkaXY+PGRp
dj4sIGJ1dCBmb3Igcm9vdCB0aGlzIGlzIGltcG9zc2libGUuIElzIGl0IHBvc3NpYmxlIHRoaXMg
ZmVhdHVyZSBjb3VsZCBiZSBhZGRlZD88L2Rpdj48L2Rpdj48L2Rpdj48L2Rpdj4NCg==
--94eb2c1ccc62caf7a6056048ce9b--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: BJH2017 <brentonhorne77@HIDDEN>
Subject: bug#29706: Acknowledgement (GuixSD: Please add the ability to
 change shells for root)
Message-ID: <handler.29706.B.151324072011268.ack <at> debbugs.gnu.org>
References: <CANb+58+BMeVR0Vw5GenuejY5GTcovFsbn-hkw5+LZ5yQ6MpQaQ@HIDDEN>
X-Gnu-PR-Message: ack 29706
X-Gnu-PR-Package: guix
Reply-To: 29706 <at> debbugs.gnu.org
Date: Thu, 14 Dec 2017 08:39:03 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 29706 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
29706: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D29706
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#29706: GuixSD: Please add the ability to change shells for root
Resent-From: ludo@HIDDEN (Ludovic =?UTF-8?Q?Court=C3=A8s?=)
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 18 Dec 2017 22:19:02 +0000
Resent-Message-ID: <handler.29706.B29706.151363553525725 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 29706
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: BJH2017 <brentonhorne77@HIDDEN>
Cc: 29706 <at> debbugs.gnu.org
Received: via spool by 29706-submit <at> debbugs.gnu.org id=B29706.151363553525725
          (code B ref 29706); Mon, 18 Dec 2017 22:19:02 +0000
Received: (at 29706) by debbugs.gnu.org; 18 Dec 2017 22:18:55 +0000
Received: from localhost ([127.0.0.1]:40922 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eR3kN-0006gq-MA
	for submit <at> debbugs.gnu.org; Mon, 18 Dec 2017 17:18:55 -0500
Received: from hera.aquilenet.fr ([141.255.128.1]:39263)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1eR3kM-0006gh-BO
 for 29706 <at> debbugs.gnu.org; Mon, 18 Dec 2017 17:18:54 -0500
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 7E408F408;
 Mon, 18 Dec 2017 23:18:57 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id TkfC9PJwYzTO; Mon, 18 Dec 2017 23:18:52 +0100 (CET)
Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 5074CDB1C;
 Mon, 18 Dec 2017 23:18:52 +0100 (CET)
From: ludo@HIDDEN (Ludovic =?UTF-8?Q?Court=C3=A8s?=)
References: <CANb+58+BMeVR0Vw5GenuejY5GTcovFsbn-hkw5+LZ5yQ6MpQaQ@HIDDEN>
Date: Mon, 18 Dec 2017 23:18:47 +0100
In-Reply-To: <CANb+58+BMeVR0Vw5GenuejY5GTcovFsbn-hkw5+LZ5yQ6MpQaQ@HIDDEN>
 (BJH's message of "Thu, 14 Dec 2017 18:38:26 +1000")
Message-ID: <87o9mv7k8o.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

Hi,

BJH2017 <brentonhorne77@HIDDEN> skribis:

> Using the configuration file /etc/config.scm it is fairly straight forward
> to change shells for a given user account on GuixSD 0.14.0, such as using:
>
> (operating system
>    (users (cons (user-account
>                          (name "user")
>                          ....
>                          (shell "/run/current-system/profile/bin/zsh")))))
>
> , but for root this is impossible. Is it possible this feature could be
> added?

I just realized it=E2=80=99s actually possible: if you add an account with
UID=C2=A00, then that account is the root account.

So you can write:

  (operating-system
    ;; =E2=80=A6
    (users (cons (user-account
                   (name "this-can-be-root-or-something-else")
                   (uid 0)
                   ;; =E2=80=A6
                   (shell (file-append zsh "/bin/zsh")))
                 =E2=80=A6)))

=E2=80=A6 and you get a root account with the chosen name and shell.

Does it work for you?

I=E2=80=99ve clarified the situation:

  https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D45f6211730157c50a=
de4dbf770e60871f1067ad6

Thanks,
Ludo=E2=80=99.




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#29706: GuixSD: Please add the ability to change shells for root
Resent-From: ludo@HIDDEN (Ludovic =?UTF-8?Q?Court=C3=A8s?=)
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Tue, 19 Dec 2017 14:54:02 +0000
Resent-Message-ID: <handler.29706.B29706.151369521710021 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 29706
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: BJH2017 <brentonhorne77@HIDDEN>
Cc: 29706 <at> debbugs.gnu.org
Received: via spool by 29706-submit <at> debbugs.gnu.org id=B29706.151369521710021
          (code B ref 29706); Tue, 19 Dec 2017 14:54:02 +0000
Received: (at 29706) by debbugs.gnu.org; 19 Dec 2017 14:53:37 +0000
Received: from localhost ([127.0.0.1]:41450 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eRJGz-0002bZ-3i
	for submit <at> debbugs.gnu.org; Tue, 19 Dec 2017 09:53:37 -0500
Received: from hera.aquilenet.fr ([141.255.128.1]:41890)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1eRJGx-0002bR-V6
 for 29706 <at> debbugs.gnu.org; Tue, 19 Dec 2017 09:53:36 -0500
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 654EF10543;
 Tue, 19 Dec 2017 15:53:38 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id Am24jKl71NXi; Tue, 19 Dec 2017 15:53:37 +0100 (CET)
Received: from ribbon (nat-eduroam-36-gw-01-bso.bordeaux.inria.fr
 [194.199.1.36])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id B6178F408;
 Tue, 19 Dec 2017 15:53:37 +0100 (CET)
From: ludo@HIDDEN (Ludovic =?UTF-8?Q?Court=C3=A8s?=)
References: <CANb+58+BMeVR0Vw5GenuejY5GTcovFsbn-hkw5+LZ5yQ6MpQaQ@HIDDEN>
 <87o9mv7k8o.fsf@HIDDEN>
 <CANb+58KywakA5fYBQPV6sPrdm5EFAFd3dPKRiDeK-rncTYvrPg@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 29 Frimaire an 226 de la =?UTF-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Tue, 19 Dec 2017 15:53:32 +0100
In-Reply-To: <CANb+58KywakA5fYBQPV6sPrdm5EFAFd3dPKRiDeK-rncTYvrPg@HIDDEN>
 (BJH's message of "Tue, 19 Dec 2017 23:02:51 +1000")
Message-ID: <8737466a6r.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

Please always keep the list Cc=E2=80=99d.

BJH2017 <brentonhorne77@HIDDEN> skribis:

> No it doesn't, I have this at the moment:
>
>                 (name "root")
>                 (uid 0)
>                 (group "root")
>                 (home-directory "/root")
>                 (shell (file-append zsh "/bin/zsh")))
>
> and I get the error:
>
> guix system: error: failed to load '/etc/config.scm':
> /etc/config.scm:35:9: /etc/config.scm:35:9: Wrong number of arguments to
> #<procedure cons (_ _)>

=E2=80=98cons=E2=80=99 adds an element to a list, so it takes two arguments:

  (cons account list)

as in:

  (cons (user-account =E2=80=A6) %base-user-accounts)

HTH!

Ludo=E2=80=99.




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#29706: GuixSD: Please add the ability to change shells for root
Resent-From: BJH2017 <brentonhorne77@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Tue, 19 Dec 2017 15:03:01 +0000
Resent-Message-ID: <handler.29706.B.151369575511843 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 29706
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 29706 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.151369575511843
          (code B ref -1); Tue, 19 Dec 2017 15:03:01 +0000
Received: (at submit) by debbugs.gnu.org; 19 Dec 2017 15:02:35 +0000
Received: from localhost ([127.0.0.1]:42424 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eRJPf-00034x-1G
	for submit <at> debbugs.gnu.org; Tue, 19 Dec 2017 10:02:35 -0500
Received: from eggs.gnu.org ([208.118.235.92]:57704)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <brentonhorne77@HIDDEN>) id 1eRJPe-00034l-4C
 for submit <at> debbugs.gnu.org; Tue, 19 Dec 2017 10:02:34 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <brentonhorne77@HIDDEN>) id 1eRJPT-000697-I5
 for submit <at> debbugs.gnu.org; Tue, 19 Dec 2017 10:02:28 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,
 FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:60063)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <brentonhorne77@HIDDEN>)
 id 1eRJPT-00068J-1x
 for submit <at> debbugs.gnu.org; Tue, 19 Dec 2017 10:02:23 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:48294)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <brentonhorne77@HIDDEN>) id 1eRJPK-0001MD-CB
 for bug-guix@HIDDEN; Tue, 19 Dec 2017 10:02:22 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <brentonhorne77@HIDDEN>) id 1eRJPA-0005yk-PM
 for bug-guix@HIDDEN; Tue, 19 Dec 2017 10:02:14 -0500
Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:44902)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <brentonhorne77@HIDDEN>)
 id 1eRJPA-0005yb-ET
 for bug-guix@HIDDEN; Tue, 19 Dec 2017 10:02:04 -0500
Received: by mail-wm0-x231.google.com with SMTP id t8so4250032wmc.3
 for <bug-guix@HIDDEN>; Tue, 19 Dec 2017 07:02:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to;
 bh=qEA2FBOhA56AIbjsUB83OOibI7asn+JGrn9R5F1p99I=;
 b=KnUrvrrGObW96DVlDb6ymtJY6iz5JGtf283mrmZac7QCAIZn7nxIGxgIGG9jMKsA74
 3t2WgKsRbSNNc+Swp/IM1ArHMXYN6lwjFc/l58oZaQfb7LylgrDrT8ybCD34l6mvADUJ
 iksZUX9o+A8UN0usp364T7wA7DcIimQhU3i7Qq2LCDZ1Tn3e3EJXIGx8mkDv53xHQmbj
 Ao6s18VD6ibAe/XhYn1R7pexoHwEMVeLVM+9eIxVxbuYwGzxLqF4WDxkAtDkxVolpEbD
 68GMtoTsAMe72SUIqRdU9/Oi2X37I6EfK5deOBfs0L8/BnDZwMdg9h0x/BLec+8cH/r/
 x97g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to;
 bh=qEA2FBOhA56AIbjsUB83OOibI7asn+JGrn9R5F1p99I=;
 b=bZknaEGV36boyFN4UMvMvqrSSp48DRFfb01Cq8CbflawwNGqqMjNWyEdz6Q3c0Kno9
 o7NtShakpZup/aFz1YTzuwTb8vZbJ33UMBKHJiSKFn8SM42E2y53XEkg6f9tfRmptbzO
 LoNrQiVBBoOPpekzoyjSJ+HGdV6z/ILSqvl8S4QCMm+yjsyl9D5LakFa4a1CEkVqECeO
 PxtHVBn4P2hAhBvxxUWA/TMvP1H9U12xzeW0kOK12zUFeb6ZH3halyV8SwuarEYLj1w9
 FakGmKRjEszR2oRS1IRk3pONdFXNoQtz6PfCUKh5HqnT2UVVP8QKpG+ZUEQcfaz/0uMO
 f+gQ==
X-Gm-Message-State: AKGB3mKBM2Q9clrz/+tHKJIrp7tmeOyimbCl6YlWJDSaVdlRa542Cits
 In4JcA8quCi2gS89G++I5mMHmYvJBqFT6Z5awxdKgg==
X-Google-Smtp-Source: ACJfBovBS2hJiRQvgrzSGOOYA3KOC2vvTbzn/klzZdzIzRKEu2sWjetWFb30LU5bpGrbOm6LrG/94DefKtIFdmK+UvY=
X-Received: by 10.80.214.74 with SMTP id c10mr910576edj.271.1513695722953;
 Tue, 19 Dec 2017 07:02:02 -0800 (PST)
MIME-Version: 1.0
Received: by 10.80.143.166 with HTTP; Tue, 19 Dec 2017 07:02:02 -0800 (PST)
In-Reply-To: <8737466a6r.fsf@HIDDEN>
References: <CANb+58+BMeVR0Vw5GenuejY5GTcovFsbn-hkw5+LZ5yQ6MpQaQ@HIDDEN>
 <87o9mv7k8o.fsf@HIDDEN>
 <CANb+58KywakA5fYBQPV6sPrdm5EFAFd3dPKRiDeK-rncTYvrPg@HIDDEN>
 <8737466a6r.fsf@HIDDEN>
From: BJH2017 <brentonhorne77@HIDDEN>
Date: Wed, 20 Dec 2017 01:02:02 +1000
Message-ID: <CANb+58KT8HzksVpktAPtzKkv9yKz7mfdmnEpXrGUMzWZ-q7TiQ@HIDDEN>
Content-Type: multipart/alternative; boundary="f403045dc600dd603b0560b2bfe6"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -3.8 (---)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.8 (---)

--f403045dc600dd603b0560b2bfe6
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

(thought I had CC'ed the group with my last comment but unfortunately gmail
doesn't do this by default, sorry)

Ya I do have %base-user-accounts in my config file here is what I had for
user accounts in full:

  (users (cons
              (user-account
                (name "root")
                (uid 0)
                (group "root")
                (supplementary-groups '("home-directory"))
                (home-directory "/root")
                (shell (file-append zsh "/bin/zsh")))
               (user-account
                (name "fusion809")
                (comment "Brenton Horne")
                (group "users")
                (supplementary-groups '("wheel" "netdev"
                                        "audio" "video"))
                (home-directory "/home/fusion809")
(shell "/run/current-system/profile/bin/zsh"))
               %base-user-accounts))

guessing the problem here is that I have two user-account fields?


On 20 December 2017 at 00:53, Ludovic Court=C3=A8s <ludo@HIDDEN> wrote:

> Please always keep the list Cc=E2=80=99d.
>
> BJH2017 <brentonhorne77@HIDDEN> skribis:
>
> > No it doesn't, I have this at the moment:
> >
> >                 (name "root")
> >                 (uid 0)
> >                 (group "root")
> >                 (home-directory "/root")
> >                 (shell (file-append zsh "/bin/zsh")))
> >
> > and I get the error:
> >
> > guix system: error: failed to load '/etc/config.scm':
> > /etc/config.scm:35:9: /etc/config.scm:35:9: Wrong number of arguments t=
o
> > #<procedure cons (_ _)>
>
> =E2=80=98cons=E2=80=99 adds an element to a list, so it takes two argumen=
ts:
>
>   (cons account list)
>
> as in:
>
>   (cons (user-account =E2=80=A6) %base-user-accounts)
>
> HTH!
>
> Ludo=E2=80=99.
>

--f403045dc600dd603b0560b2bfe6
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">(thought I had CC&#39;ed the group with my last comment bu=
t unfortunately gmail doesn&#39;t do this by default, sorry)<div><br></div>=
<div>Ya I do have %base-user-accounts in my config file here is what I had =
for user accounts in full:</div><div><br></div><div><div>=C2=A0 (users (con=
s=C2=A0</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (user-ac=
count</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (na=
me &quot;root&quot;)</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 (uid 0)</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 (group &quot;root&quot;)</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (supplementary-groups &#39;(&quot;home-dire=
ctory&quot;))</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 (home-directory &quot;/root&quot;)</div><div>=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (shell (file-append zsh &quot;/bin/zsh&q=
uot;)))</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(u=
ser-account</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 (name &quot;fusion809&quot;)</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 (comment &quot;Brenton Horne&quot;)</div><div>=C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (group &quot;users&quo=
t;)</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (supp=
lementary-groups &#39;(&quot;wheel&quot; &quot;netdev&quot;</div><div>=C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;audio&=
quot; &quot;video&quot;))</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 (home-directory &quot;/home/fusion809&quot;)</div><div><s=
pan class=3D"gmail-Apple-tab-span" style=3D"white-space:pre">		</span>(shel=
l &quot;/run/current-system/profile/bin/zsh&quot;))</div><div>=C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0%base-user-accounts))</div></div>=
<div><br></div><div>guessing the problem here is that I have two user-accou=
nt fields?</div><div><br></div></div><div class=3D"gmail_extra"><br><div cl=
ass=3D"gmail_quote">On 20 December 2017 at 00:53, Ludovic Court=C3=A8s <spa=
n dir=3D"ltr">&lt;<a href=3D"mailto:ludo@HIDDEN" target=3D"_blank">ludo@gn=
u.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Please always=
 keep the list Cc=E2=80=99d.<br>
<br>
BJH2017 &lt;<a href=3D"mailto:brentonhorne77@HIDDEN">brentonhorne77@gmai=
l.com</a>&gt; skribis:<br>
<span class=3D""><br>
&gt; No it doesn&#39;t, I have this at the moment:<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(name &qu=
ot;root&quot;)<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(uid 0)<b=
r>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(group &q=
uot;root&quot;)<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(home-dir=
ectory &quot;/root&quot;)<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(shell (f=
ile-append zsh &quot;/bin/zsh&quot;)))<br>
&gt;<br>
&gt; and I get the error:<br>
&gt;<br>
&gt; guix system: error: failed to load &#39;/etc/config.scm&#39;:<br>
&gt; /etc/config.scm:35:9: /etc/config.scm:35:9: Wrong number of arguments =
to<br>
&gt; #&lt;procedure cons (_ _)&gt;<br>
<br>
</span>=E2=80=98cons=E2=80=99 adds an element to a list, so it takes two ar=
guments:<br>
<br>
=C2=A0 (cons account list)<br>
<br>
as in:<br>
<br>
=C2=A0 (cons (user-account =E2=80=A6) %base-user-accounts)<br>
<br>
HTH!<br>
<br>
Ludo=E2=80=99.<br>
</blockquote></div><br></div>

--f403045dc600dd603b0560b2bfe6--




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#29706: GuixSD: Please add the ability to change shells for root
Resent-From: Ricardo Wurmus <rekado@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Tue, 19 Dec 2017 15:27:02 +0000
Resent-Message-ID: <handler.29706.B29706.151369721814210 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 29706
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: BJH2017 <brentonhorne77@HIDDEN>
Cc: 29706 <at> debbugs.gnu.org
Received: via spool by 29706-submit <at> debbugs.gnu.org id=B29706.151369721814210
          (code B ref 29706); Tue, 19 Dec 2017 15:27:02 +0000
Received: (at 29706) by debbugs.gnu.org; 19 Dec 2017 15:26:58 +0000
Received: from localhost ([127.0.0.1]:42450 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eRJnG-0003h8-K6
	for submit <at> debbugs.gnu.org; Tue, 19 Dec 2017 10:26:58 -0500
Received: from sender-of-o51.zoho.com ([135.84.80.216]:21134)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1eRJnE-0003gz-AM
 for 29706 <at> debbugs.gnu.org; Tue, 19 Dec 2017 10:26:56 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1513697177; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=References:From:To:Cc:Subject:In-reply-to:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID;
 l=854; bh=bs5gLTcbycYd365PZDgpPsjrIGDnV6iEJEEBxqjUPP4=;
 b=FxmKT1J+ia80k16eNrlM9Dl5av9A0n9l9HP3Bq2jwLQyjaCtpr+DMc8EQN9e/dEA
 6kqD3bYTELqIxkoyxKk8wk1gc1webn2Qj+NrOWCDx72Zzkef0UM6RIOzRcVqOvRuhvi
 ihkidyw0U/wzXbG22NDRzkvqQL+MWIgSLIVaxdcg=
Received: from localhost (141.80.247.107 [141.80.247.107]) by mx.zohomail.com
 with SMTPS id 1513697177884924.5138802997951;
 Tue, 19 Dec 2017 07:26:17 -0800 (PST)
References: <CANb+58+BMeVR0Vw5GenuejY5GTcovFsbn-hkw5+LZ5yQ6MpQaQ@HIDDEN>
 <87o9mv7k8o.fsf@HIDDEN>
 <CANb+58KywakA5fYBQPV6sPrdm5EFAFd3dPKRiDeK-rncTYvrPg@HIDDEN>
 <8737466a6r.fsf@HIDDEN>
 <CANb+58KT8HzksVpktAPtzKkv9yKz7mfdmnEpXrGUMzWZ-q7TiQ@HIDDEN>
User-agent: mu4e 1.0-alpha3; emacs 25.3.1
From: Ricardo Wurmus <rekado@HIDDEN>
In-reply-to: <CANb+58KT8HzksVpktAPtzKkv9yKz7mfdmnEpXrGUMzWZ-q7TiQ@HIDDEN>
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Date: Tue, 19 Dec 2017 16:26:14 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Message-ID: <87vah2kacp.fsf@HIDDEN>
X-ZohoMailClient: External
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)


Hi,

>   (users (cons
>               (user-account
>                 (name "root")
>                 (uid 0)
>                 (group "root")
>                 (supplementary-groups '("home-directory"))
>                 (home-directory "/root")
>                 (shell (file-append zsh "/bin/zsh")))
>                (user-account
>                 (name "fusion809")
>                 (comment "Brenton Horne")
>                 (group "users")
>                 (supplementary-groups '("wheel" "netdev"
>                                         "audio" "video"))
>                 (home-directory "/home/fusion809")
> (shell "/run/current-system/profile/bin/zsh"))
>                %base-user-accounts))
>
> guessing the problem here is that I have two user-account fields?

Yes, =E2=80=9Ccons=E2=80=9D takes a single item (its first argument) and pr=
epends it to a
list (its second argument).  You can use =E2=80=9Ccons*=E2=80=9D here, whic=
h prepends
more than one thing to a list.

--=20
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net






Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#29706: GuixSD: Please add the ability to change shells for root
Resent-From: Alex Sassmannshausen <alex@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Tue, 19 Dec 2017 15:35:01 +0000
Resent-Message-ID: <handler.29706.B29706.151369769222382 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 29706
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: BJH2017 <brentonhorne77@HIDDEN>
Cc: 29706 <at> debbugs.gnu.org
Reply-To: alex@HIDDEN
Received: via spool by 29706-submit <at> debbugs.gnu.org id=B29706.151369769222382
          (code B ref 29706); Tue, 19 Dec 2017 15:35:01 +0000
Received: (at 29706) by debbugs.gnu.org; 19 Dec 2017 15:34:52 +0000
Received: from localhost ([127.0.0.1]:42459 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eRJuu-0005ow-K9
	for submit <at> debbugs.gnu.org; Tue, 19 Dec 2017 10:34:52 -0500
Received: from mail.pompo.co ([87.243.223.35]:43486 helo=ronja.pompo.co)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alex@HIDDEN>) id 1eRJut-0005oj-3Z
 for 29706 <at> debbugs.gnu.org; Tue, 19 Dec 2017 10:34:51 -0500
Received: from rosser (unknown [91.182.239.136])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by ronja.pompo.co (Postfix) with ESMTPSA id E0E70402F8;
 Tue, 19 Dec 2017 15:34:44 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pompo.co; s=mail;
 t=1513697685; bh=aUw2+Cf+BX0KRcyyfZz9PGwhBEE1QCDJ/G61gYHpdtE=;
 h=References:From:To:Cc:Subject:Reply-To:In-reply-to:Date:From;
 b=V9ZauR/GqTMfgY6ROrxvG9rRBI7hOE8WoYBKC6L7tI0N4kED0wD5/XoTs2KGPdxUB
 WnT7MIB6zYAr9ridpMsWqACKpIusJudYWscqtdkbbt3WnHgHrV1hyJ4AKrVRx29GXW
 WCKlfPz2bwPsC1S6ulIWhRVAKe2yKJuGapII2ygc=
References: <CANb+58+BMeVR0Vw5GenuejY5GTcovFsbn-hkw5+LZ5yQ6MpQaQ@HIDDEN>
 <87o9mv7k8o.fsf@HIDDEN>
 <CANb+58KywakA5fYBQPV6sPrdm5EFAFd3dPKRiDeK-rncTYvrPg@HIDDEN>
 <8737466a6r.fsf@HIDDEN>
 <CANb+58KT8HzksVpktAPtzKkv9yKz7mfdmnEpXrGUMzWZ-q7TiQ@HIDDEN>
User-agent: mu4e 0.9.18; emacs 25.3.1
From: Alex Sassmannshausen <alex@HIDDEN>
In-reply-to: <CANb+58KT8HzksVpktAPtzKkv9yKz7mfdmnEpXrGUMzWZ-q7TiQ@HIDDEN>
Date: Tue, 19 Dec 2017 16:34:43 +0100
Message-ID: <87mv2eg298.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Hi,

BJH2017 writes:

> (thought I had CC'ed the group with my last comment but unfortunately gmail doesn't do this by default, sorry)
>
> Ya I do have %base-user-accounts in my config file here is what I had for user accounts in full:
>
> (users (cons 
> (user-account
> (name "root")
> (uid 0)
> (group "root")
> (supplementary-groups '("home-directory"))
> (home-directory "/root")
> (shell (file-append zsh "/bin/zsh")))
> (user-account
> (name "fusion809")
> (comment "Brenton Horne")
> (group "users")
> (supplementary-groups '("wheel" "netdev"
> "audio" "video"))
> (home-directory "/home/fusion809")
> (shell "/run/current-system/profile/bin/zsh"))
> %base-user-accounts))
>
> guessing the problem here is that I have two user-account fields?

That's correct.  Either use:

(cons (user-account ...)
      (cons (user-account ...)
            %base-user-accounts))

Or

(cons* (user-account ...) (user-account ...) %base-user-accounts)

HTH,

Alex

> On 20 December 2017 at 00:53, Ludovic Courtès <ludo@HIDDEN> wrote:
>
>  Please always keep the list Cc’d.
>
>  BJH2017 <brentonhorne77@HIDDEN> skribis:
>
>  > No it doesn't, I have this at the moment:
>  >
>  > (name "root")
>  > (uid 0)
>  > (group "root")
>  > (home-directory "/root")
>  > (shell (file-append zsh "/bin/zsh")))
>  >
>  > and I get the error:
>  >
>  > guix system: error: failed to load '/etc/config.scm':
>  > /etc/config.scm:35:9: /etc/config.scm:35:9: Wrong number of arguments to
>  > #<procedure cons (_ _)>
>
>  ‘cons’ adds an element to a list, so it takes two arguments:
>
>  (cons account list)
>
>  as in:
>
>  (cons (user-account …) %base-user-accounts)
>
>  HTH!
>
>  Ludo’.





Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#29706: GuixSD: Please add the ability to change shells for root
Resent-From: Leo Famulari <leo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Tue, 19 Dec 2017 15:40:01 +0000
Resent-Message-ID: <handler.29706.B29706.151369795722795 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 29706
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: BJH2017 <brentonhorne77@HIDDEN>
Cc: 29706 <at> debbugs.gnu.org
Received: via spool by 29706-submit <at> debbugs.gnu.org id=B29706.151369795722795
          (code B ref 29706); Tue, 19 Dec 2017 15:40:01 +0000
Received: (at 29706) by debbugs.gnu.org; 19 Dec 2017 15:39:17 +0000
Received: from localhost ([127.0.0.1]:42464 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eRJzB-0005vb-6H
	for submit <at> debbugs.gnu.org; Tue, 19 Dec 2017 10:39:17 -0500
Received: from out3-smtp.messagingengine.com ([66.111.4.27]:43137)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo@HIDDEN>) id 1eRJz9-0005vT-Bw
 for 29706 <at> debbugs.gnu.org; Tue, 19 Dec 2017 10:39:15 -0500
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id B676B20C90;
 Tue, 19 Dec 2017 10:39:14 -0500 (EST)
Received: from frontend2 ([10.202.2.161])
 by compute4.internal (MEProxy); Tue, 19 Dec 2017 10:39:14 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name;
 h=cc:content-type:date:from:in-reply-to:message-id:mime-version
 :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=
 mesmtp; bh=F/caTsGHu+yr5yAGx2176pFcsMEJJRyqwZd4Qzc/MS0=; b=Fv6nY
 JEQYXVXdi10QYNz5r/hdJ6A2dsC29ezuCNGTh55Xk6neAB2bOMq8KaxbbvsYu4Y3
 EQNDQyPSdcf0ANL9axDm1kmK51FhJ8ry5ay2rXL+CLfhg2ce3bmufGqzntPwJix3
 Xch3Ez5aA/cFmGNA2DQizDw8PU86VhOrhDzsXk=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-sender
 :x-me-sender:x-sasl-enc; s=fm1; bh=F/caTsGHu+yr5yAGx2176pFcsMEJJ
 RyqwZd4Qzc/MS0=; b=k/bV2P74D4lIXgEw4X6yybq0Sjw0hMd4gTUwSPw8UUc2V
 yT1F7/xfJExt7XEDeIjqA2/u93jTw/VJAHTnDyMLsiSUona0NRbr22ck7uxCdTe2
 W/rv2Axti/yP4vDRuy9amW7ODUoPCh9mRWTQ+xbHUNfzyppTvBJfG5/atdDLLjkZ
 fius6uJI3mY/N2CzGAe1P5c+LOC+oGqVky3c7Vmi9Smc8CqUSr4sHiiG7h5bIAFQ
 SAt0I/BrSEWmXrT+vbpnsEBni4vIRxbcfSfeuis+hY9kMQRlZdev7d46plwYDlPu
 V2En4EdFeCv8MDUy/TxcRxwqXk4XAapTJuG4oCMhA==
X-ME-Sender: <xms:ojI5WtOiRMv0yrNi8yaKsvOs64VbS7Glw5_aIEZEbLa1AESCPQyW7Q>
Received: from localhost (unknown [172.58.201.81])
 by mail.messagingengine.com (Postfix) with ESMTPA id 63FC82469F;
 Tue, 19 Dec 2017 10:39:14 -0500 (EST)
Date: Tue, 19 Dec 2017 10:39:13 -0500
From: Leo Famulari <leo@HIDDEN>
Message-ID: <20171219153913.GA26833@HIDDEN>
References: <CANb+58+BMeVR0Vw5GenuejY5GTcovFsbn-hkw5+LZ5yQ6MpQaQ@HIDDEN>
 <87o9mv7k8o.fsf@HIDDEN>
 <CANb+58KywakA5fYBQPV6sPrdm5EFAFd3dPKRiDeK-rncTYvrPg@HIDDEN>
 <8737466a6r.fsf@HIDDEN>
 <CANb+58KT8HzksVpktAPtzKkv9yKz7mfdmnEpXrGUMzWZ-q7TiQ@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="SUOF0GtieIMvvwua"
Content-Disposition: inline
In-Reply-To: <CANb+58KT8HzksVpktAPtzKkv9yKz7mfdmnEpXrGUMzWZ-q7TiQ@HIDDEN>
User-Agent: Mutt/1.9.2 (2017-12-15)
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)


--SUOF0GtieIMvvwua
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Dec 20, 2017 at 01:02:02AM +1000, BJH2017 wrote:
> (thought I had CC'ed the group with my last comment but unfortunately gma=
il
> doesn't do this by default, sorry)
>=20
> Ya I do have %base-user-accounts in my config file here is what I had for
> user accounts in full:
>=20
>   (users (cons
>               (user-account
>                 (name "root")
>                 (uid 0)
>                 (group "root")
>                 (supplementary-groups '("home-directory"))
>                 (home-directory "/root")
>                 (shell (file-append zsh "/bin/zsh")))
>                (user-account
>                 (name "fusion809")
>                 (comment "Brenton Horne")
>                 (group "users")
>                 (supplementary-groups '("wheel" "netdev"
>                                         "audio" "video"))
>                 (home-directory "/home/fusion809")
> (shell "/run/current-system/profile/bin/zsh"))
>                %base-user-accounts))
>=20
> guessing the problem here is that I have two user-account fields?

Right, if you are adding more than one element to %base-user-accounts,
you'll need to use cons* instead of cons.

(users (cons* (user-account
                (name "root")
		...)
              (user-account
                (name "fusion809")
                ...)
              %base-user-accounts))

--SUOF0GtieIMvvwua
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlo5Mp4ACgkQJkb6MLrK
fwiKehAAkKkfFV89YqNohKEOelVfH5dYxvHRFAyTkBj2lwXPtPWIz6DAicCDvLd2
K5YVF4dneIw1Ghgm0J+kJTjiuR6jVtpDWXhKzxbfX8RxojsKoPZ5fgp4RNKapc+n
O4gavsC6CPxfNHdxoBSaztsEenProjWqjR0OylbcRvC/5A5fFvUeh8Jb4WK16Duu
VHLswSJ42c7IbGxfWIPyAcYzLN+eoTvgd9fV8q3/HX7EGxZ8m7iiN3fdHFZamY35
K5Ho4NbIsZVcQRTZ/tuNFUADRO+LrN4YR7NTsnJrmRacb85Vjqdis4KN4E8KuHYI
1Z+QLTZMLh/Q6qP9djzaJFynA4U3nFDsuap3K1JYzBCiVUPYy1R7e8tUG019Qu7u
lB65sdVVcpO6McvJUA6TIU0JekXc0MI9oPKTEA+vZsFEWZZgfKDC9utt2mS9Aekn
G/rRymuItW3Fp/0FG2xMqbNJS8OUt/mK1pzt5HxiCyKPIPgVmid76zPT6jHgoHcY
wgHuuzHzUOr02MTQNMyo/+EJKr63de5jS9y+ApNXOSjGSTf9g7/ue51GwuQTWPPb
SzHvJ5jLEzOQwW+uEJ63n+wnhwig0AgI1ZdvwFHQEhRkgD//zqNmBp782QSEUPgj
EaEhh9E687IIg9EVpfBK1Nuo0FYczzjqX+otx4nUBLSQhuYRq5Y=
=fH7Y
-----END PGP SIGNATURE-----

--SUOF0GtieIMvvwua--




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#29706: GuixSD: Please add the ability to change shells for root
Resent-From: ludo@HIDDEN (Ludovic =?UTF-8?Q?Court=C3=A8s?=)
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Tue, 19 Dec 2017 17:17:02 +0000
Resent-Message-ID: <handler.29706.B29706.15137037916761 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 29706
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: BJH2017 <brentonhorne77@HIDDEN>
Cc: 29706 <at> debbugs.gnu.org
Received: via spool by 29706-submit <at> debbugs.gnu.org id=B29706.15137037916761
          (code B ref 29706); Tue, 19 Dec 2017 17:17:02 +0000
Received: (at 29706) by debbugs.gnu.org; 19 Dec 2017 17:16:31 +0000
Received: from localhost ([127.0.0.1]:42575 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eRLVH-0001kz-95
	for submit <at> debbugs.gnu.org; Tue, 19 Dec 2017 12:16:31 -0500
Received: from hera.aquilenet.fr ([141.255.128.1]:42314)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1eRLVF-0001kr-KO
 for 29706 <at> debbugs.gnu.org; Tue, 19 Dec 2017 12:16:29 -0500
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 3CC2C1057F;
 Tue, 19 Dec 2017 18:16:32 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 0QvHlilToJEX; Tue, 19 Dec 2017 18:16:31 +0100 (CET)
Received: from ribbon (unknown [193.50.110.155])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 9A29D1057E;
 Tue, 19 Dec 2017 18:16:31 +0100 (CET)
From: ludo@HIDDEN (Ludovic =?UTF-8?Q?Court=C3=A8s?=)
References: <CANb+58+BMeVR0Vw5GenuejY5GTcovFsbn-hkw5+LZ5yQ6MpQaQ@HIDDEN>
 <87o9mv7k8o.fsf@HIDDEN>
 <CANb+58KywakA5fYBQPV6sPrdm5EFAFd3dPKRiDeK-rncTYvrPg@HIDDEN>
 <8737466a6r.fsf@HIDDEN>
 <CANb+58KT8HzksVpktAPtzKkv9yKz7mfdmnEpXrGUMzWZ-q7TiQ@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 29 Frimaire an 226 de la =?UTF-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Tue, 19 Dec 2017 18:16:27 +0100
In-Reply-To: <CANb+58KT8HzksVpktAPtzKkv9yKz7mfdmnEpXrGUMzWZ-q7TiQ@HIDDEN>
 (BJH's message of "Wed, 20 Dec 2017 01:02:02 +1000")
Message-ID: <87po7a1vv8.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

Hello,

BJH2017 <brentonhorne77@HIDDEN> skribis:

> Ya I do have %base-user-accounts in my config file here is what I had for
> user accounts in full:
>
>   (users (cons
>               (user-account
>                 (name "root")
>                 (uid 0)
>                 (group "root")
>                 (supplementary-groups '("home-directory"))
>                 (home-directory "/root")
>                 (shell (file-append zsh "/bin/zsh")))
>                (user-account
>                 (name "fusion809")
>                 (comment "Brenton Horne")
>                 (group "users")
>                 (supplementary-groups '("wheel" "netdev"
>                                         "audio" "video"))
>                 (home-directory "/home/fusion809")
> (shell "/run/current-system/profile/bin/zsh"))
>                %base-user-accounts))

Here =E2=80=98cons=E2=80=99 is given three arguments.  You should use =E2=
=80=98cons*=E2=80=99 instead.
To do that you=E2=80=99ll also need to add this line to the top of your fil=
e:

  (use-modules (srfi srfi-1))  ;for 'cons*'

HTH,
Ludo=E2=80=99.





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.