GNU bug report logs - #29706
GuixSD: Please add the ability to change shells for root

Previous Next

Package: guix;

Reported by: BJH2017 <brentonhorne77 <at> gmail.com>

Date: Thu, 14 Dec 2017 08:39:02 UTC

Severity: normal

Full log


Message #26 received at 29706 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: BJH2017 <brentonhorne77 <at> gmail.com>
Cc: 29706 <at> debbugs.gnu.org
Subject: Re: bug#29706: GuixSD: Please add the ability to change shells for
 root
Date: Tue, 19 Dec 2017 18:16:27 +0100
Hello,

BJH2017 <brentonhorne77 <at> gmail.com> 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 ‘cons’ is given three arguments.  You should use ‘cons*’ instead.
To do that you’ll also need to add this line to the top of your file:

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

HTH,
Ludo’.




This bug report was last modified 7 years and 176 days ago.

Previous Next


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