From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2IWNCu0vJmJugQAAgWs5BA (envelope-from ) for ; Mon, 07 Mar 2022 17:16:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id SO7WBu0vJmKgyQAAauVa8A (envelope-from ) for ; Mon, 07 Mar 2022 17:16:45 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 848BC3A1BA for ; Mon, 7 Mar 2022 17:16:44 +0100 (CET) Received: from localhost ([::1]:37386 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRG2M-0000wl-KY for larch@yhetil.org; Mon, 07 Mar 2022 11:16:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRG26-0000wS-CL for help-guix@gnu.org; Mon, 07 Mar 2022 11:16:26 -0500 Received: from 13.mo550.mail-out.ovh.net ([178.33.253.128]:44769) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRG24-0002Om-0Q for help-guix@gnu.org; Mon, 07 Mar 2022 11:16:25 -0500 Received: from player763.ha.ovh.net (unknown [10.108.16.177]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 159C9229D2 for ; Mon, 7 Mar 2022 16:16:20 +0000 (UTC) Received: from hubert-lombard.website (marseille-1-62-147-107-107.dial.proxad.net [62.147.107.107]) (Authenticated sender: contact@hubert-lombard.website) by player763.ha.ovh.net (Postfix) with ESMTPSA id E5E462825A71E; Mon, 7 Mar 2022 16:16:18 +0000 (UTC) X-OVh-ClientIp: 62.147.107.107 Date: Mon, 7 Mar 2022 17:16:15 +0100 From: Hubert To: =?UTF-8?B?SsOpcsOpbXk=?= Korwin-Zmijowski Subject: Re: Can't create user account in virtual machine with guix system vm Message-ID: <20220307171615.4420e385@hubert-lombard.website> In-Reply-To: References: <20220307114731.26c4b9a2@hubert-lombard.website> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Ovh-Tracer-Id: 3446379618906927055 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -80 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvvddruddugedgkeehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegoteeftdelqddtfeculddvtddmnecujfgurhepfffhvffukfgjfhfogggtgfesthhqredtredtjeenucfhrhhomhepjfhusggvrhhtuceotghonhhtrggttheshhhusggvrhhtqdhlohhmsggrrhgurdifvggsshhithgvqeenucggtffrrghtthgvrhhnpedtledvhffhlefggfegffffvefhjeekkeffiedtgfeggfefieegtdevtdfftdehjeenucffohhmrghinhepghhnuhdrohhrghenucfkpheptddrtddrtddrtddpiedvrddugeejrddutdejrddutdejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrhejieefrdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomheptghonhhtrggttheshhhusggvrhhtqdhlohhmsggrrhgurdifvggsshhithgvpdhnsggprhgtphhtthhopedupdhrtghpthhtohephhgvlhhpqdhguhhigiesghhnuhdrohhrgh Received-SPF: pass client-ip=178.33.253.128; envelope-from=contact@hubert-lombard.website; helo=13.mo550.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1646669804; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=VR4r2SxnEncRJdd/NzL7d0FQfIF6ZnWV5zUT0YrrfB8=; b=ZLN0HAqHXTDiBZvLnrCcQeD66rki8jRyDtBiiYjN6ouCbH/7o+cUqnO7HcBdeDHQc70rqU r8ne0yEP8ZA7XVQdBYUbpfDjjfm/hS+8qqjwO+T7IbiDQ6Ck2diweDWY4KjKGZQNszAmM0 rb0BVmgg3zYAz/gYwbv06jdTBo5oA5y1Nff+eAVskE9y41AY/pH6N14ejitSz12g8eaklS kdV0d80btgzsYP17cjZxGaxtLoryHTugxmjltkpudVuECFhM1Msm/0FWtXfantSBxIDpc1 WF0ze5p4F3GSJcI+noGaZbcjagjot9CIuCDdGQTlzMTrsoeJIQWlONtsigAANA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646669804; a=rsa-sha256; cv=none; b=eLgOYhiD4EHRKbIrQ8K6wlB7dSuHrpfk58cigzRmp8M+dhUlIiQRwwm9qPRq7ZIjRwANpX bqMtYwZ6ybO+TsHWI0ewPQDUlUzcNMlzIitBkHxXmSMwphmSRRwBwCrE0FJcYqQPnayRKu 7S2qDzJP6hOf7nYA7r+w5xLof1As0r/fMyA8GQiwJrqsmgzhLdJAcLKbdil20lyEsoku8I +ss4wFfWJwOn/u5MuRn6xR3/ZsohFidF26itOuNqhMXwL0Va+uFjmjyHzUOfcRnveOb5JU quLQynfBGMC1cx6tK4FxfIdZqXEm9TKqQSWtZPFQxeqXrWM4Vx6X856q6Gv8MA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.52 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 848BC3A1BA X-Spam-Score: -4.52 X-Migadu-Scanner: scn0.migadu.com X-TUID: VcJ4fg4dHVj2 Hi Jeremy!=20 Got it! I suspected it was something like that, good to know, to have it confirmed. Thanks again :) HUbert Le Mon, 07 Mar 2022 12:59:51 +0100, J=C3=A9r=C3=A9my Korwin-Zmijowski a =C3=A9crit= : > Hi Hubert ! > You have to edit your system definition to add a user.=20 > Sharing some files, even your home directory, is not the way to > create users. Cheers > J=C3=A9r=C3=A9my >=20 > Le 7 mars 2022 11:47:31 GMT+01:00, Hubert > a =C3=A9crit=C2=A0: > >Hello Guix! > > > > > >I have made a VM in which no user account seems to could created. > > > >The standard command for that: > > > >https://guix.gnu.org/fr/manual/devel/en/html_node/Invoking-guix-system.h= tml#Invoking-guix-system > > > >$ guix system vm Test.scm --expose=3D$HOME --share=3D$HOME/tmp=3D/exchan= ge > > > >And the vm starts running, but no way to add an user account: > > > >$ sudo /gnu/store/zrd2c9czm6fdqd33q7yx2695s2dgy9kl-run-vm.sh > > > >At the graphical login I typed 'root' and validated. This opened me > >a privileged user session. =20 > > > >In the qemu console I typed: 'sendkey ctrl-alt-f1' [Enter] > > > >In tty2 virtual console, I typed 'passwd' for root, validated and > >'passwd hubert' confirming the password after typing it. > > > >But when I return to the login, either as a guest user or as my > >username, the password does not succeed, returning me to the login. > > > >The vm starts more correctly by adding the options > > > >'-m 1024 -smp 2 -nic user,model=3Dvirtio-net-pci'=20 > > > >I can't remember why I needed to add these (familiar) options. > >Anyway, the following launchs the vm: > > > >$ sudo /gnu/store/zrd2c9czm6fdqd33q7yx2695s2dgy9kl-run-vm.sh -m 1024 > >-smp 2 -nic user,model=3Dvirtio-net-pci > > > >Here again, I can only connect in a graphical session with root. > > > >Which doesn't surprise me too much, since the home directory is > >read-only. > > > >I don't know if there are ways to solve this case... Give rights to > >home ?... > > > >Thank you in advance if you have any suggestions for me :) > > > > > >Hubert > > =20