From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tanguy Le Carrour Subject: Re: Changing user-account's shell Date: Thu, 18 Apr 2019 22:51:31 +0200 Message-ID: <20190418205131.mthcnvo3dodf3pvx@melmoth> References: <20190417195944.v3duu4wzh7sqj7dk@melmoth> <87pnpjqsmg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:54395) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHE0P-00054h-JK for help-guix@gnu.org; Thu, 18 Apr 2019 16:51:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hHE0O-00056A-Eh for help-guix@gnu.org; Thu, 18 Apr 2019 16:51:37 -0400 Content-Disposition: inline In-Reply-To: <87pnpjqsmg.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: help-guix@gnu.org Le 04/18, Ludovic Courtès a écrit : > Tanguy Le Carrour skribis: > > I'm trying to set my user's shell through the Guix configuration system, > > but without success. > > […] > > (users (cons (user-account > > ;; ... > > (shell (file-append fish "/bin/fish"))) > > %base-user-accounts)) > > […] > Could you tell us what command you run and what error message you got? > At first sight this looks good to me. I run `sudo -E guix system reconfigure my_config.scm` and I don't get any error message. The "funny" thing is, if I add a second user to the system, setting Fish as its default shell, it's added with Fish as its default shell! If I remove `(shell (file-append fish "/bin/fish"))` from the newly created account and re-run `guix system reconfigure`, the shell is still Fish. If I add `(shell (file-append bash "/bin/bash"))` to the newly created account and re-run `guix system reconfigure`, the shell is still Fish. Bug or feature?! Regards -- Tanguy