From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#29706: GuixSD: Please add the ability to change shells for root Date: Tue, 19 Dec 2017 16:26:14 +0100 Message-ID: <87vah2kacp.fsf@elephly.net> 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]:35456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRJnT-0008LL-8b for bug-guix@gnu.org; Tue, 19 Dec 2017 10:27:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRJnP-0006eT-P1 for bug-guix@gnu.org; Tue, 19 Dec 2017 10:27:11 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:33769) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eRJnP-0006eO-Jq for bug-guix@gnu.org; Tue, 19 Dec 2017 10:27:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eRJnK-0003hQ-80 for bug-guix@gnu.org; Tue, 19 Dec 2017 10:27:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: 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 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