From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: discussion: root password switch for next guixsd release Date: Sat, 11 Jun 2016 21:39:22 -0400 Message-ID: <20160612013922.GB23504@jasmine> References: <20160607101702.GA3927@khazad-dum> <20160612002447.GA21956@jasmine> <20160612004825.GA4146@khazad-dum> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBuNF-0007b4-EB for guix-devel@gnu.org; Sat, 11 Jun 2016 21:39:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bBuNC-0000mK-7T for guix-devel@gnu.org; Sat, 11 Jun 2016 21:39:37 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:45398) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBuN9-0000ib-U7 for guix-devel@gnu.org; Sat, 11 Jun 2016 21:39:34 -0400 Received: from localhost (unknown [65.210.89.2]) by mail.messagingengine.com (Postfix) with ESMTPA id A69E2F29F4 for ; Sat, 11 Jun 2016 21:39:22 -0400 (EDT) Content-Disposition: inline In-Reply-To: <20160612004825.GA4146@khazad-dum> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org On Sun, Jun 12, 2016 at 12:48:26AM +0000, ng0 wrote: > On 2016-06-11(08:24:47-0400), Leo Famulari wrote: > Insert/Load the guixsd image on a remote/local-remote system, provide > a password which is not empty, start an sshd (lsh/openssh) and be able > to do the installation this way... or at least let it be a step towards > remote setup, as there might be some more things needed for this. > > > https://www.gnu.org/software/guix/manual/html_node/User-Accounts.html#User-Accounts > > Possibly, if the image is created this way, but I was more thinking > of a possibility where you can pass a password before booting into > the setup. > This however might or might not be possible with the current way > release disks are produced. > I think gentoo's catalyst software produces an image with isolinux, > where you pass the things I mentioned to the kernel like > $kernel arg arg1 arg2 etc > or better: > gentoo dosshd passwd=foo You'd need to create the disk image first, right? Why not put the password into the operating system declaration that you use to create the disk image, as described in the link above? `guix system disk-image --image-size=1G system-with-root-password.scm`