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 #17 received at 29706 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
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 16:26:14 +0100
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, “cons” takes a single item (its first argument) and prepends it to a
list (its second argument).  You can use “cons*” here, which prepends
more than one thing to a list.

-- 
Ricardo

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






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.