bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29706: GuixSD: Please add the ability to change shells for root


From: Ludovic Courtès
Subject: bug#29706: GuixSD: Please add the ability to change shells for root
Date: Tue, 19 Dec 2017 18:16:27 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello,

BJH2017 <address@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 ‘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’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]