From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#29706: GuixSD: Please add the ability to change shells for root Date: Tue, 19 Dec 2017 18:16:27 +0100 Message-ID: <87po7a1vv8.fsf@gnu.org> References: <87o9mv7k8o.fsf@gnu.org> <8737466a6r.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRLVp-0003L1-Hh for bug-guix@gnu.org; Tue, 19 Dec 2017 12:17:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRLVm-0007aa-F9 for bug-guix@gnu.org; Tue, 19 Dec 2017 12:17:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:33894) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eRLVm-0007Zx-Bb for bug-guix@gnu.org; Tue, 19 Dec 2017 12:17:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eRLVm-0001lk-41 for bug-guix@gnu.org; Tue, 19 Dec 2017 12:17:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (BJH's message of "Wed, 20 Dec 2017 01:02:02 +1000") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: BJH2017 Cc: 29706@debbugs.gnu.org Hello, BJH2017 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.