From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 UFRcE6H1JWIgcwAAgWs5BA (envelope-from ) for ; Mon, 07 Mar 2022 13:08:01 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8EqlC6H1JWKSkQAAG6o9tA (envelope-from ) for ; Mon, 07 Mar 2022 13:08:01 +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 A231E2AA04 for ; Mon, 7 Mar 2022 13:08:00 +0100 (CET) Received: from localhost ([::1]:58088 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRC9f-0005wr-7L for larch@yhetil.org; Mon, 07 Mar 2022 07:07:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRC1w-0005E9-GK for help-guix@gnu.org; Mon, 07 Mar 2022 07:00:01 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:46029) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRC1u-0004iG-5Y for help-guix@gnu.org; Mon, 07 Mar 2022 07:00:00 -0500 Received: (Authenticated sender: jeremy@korwin-zmijowski.fr) by relay.mail.gandi.net (Postfix) with ESMTPSA id 62BF1100009; Mon, 7 Mar 2022 11:59:53 +0000 (UTC) Date: Mon, 07 Mar 2022 12:59:51 +0100 From: =?ISO-8859-1?Q?J=E9r=E9my_Korwin-Zmijowski?= To: help-guix@gnu.org, Hubert Subject: Re: Can't create user account in virtual machine with guix system vm User-Agent: K-9 Mail for Android In-Reply-To: <20220307114731.26c4b9a2@hubert-lombard.website> References: <20220307114731.26c4b9a2@hubert-lombard.website> Message-ID: MIME-Version: 1.0 Received-SPF: none client-ip=217.70.178.231; envelope-from=jeremy@korwin-zmijowski.fr; helo=relay11.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: , 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=1646654880; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=cNYU1cJs8wYbGKVUjPLjSxi1kBhNNYO0u+yZDZ3Mse0=; b=aZKCQdg08e6MWaPKJon9VmbcLEWk7lQptjUBCWyRLmAXtJZuiKo9HsRBNga+eGoewk3/q9 4HH4pL9ueKIQxPKO7icdIIq8Qg9LHMbXLkn74D1dKu34N1EhQta0JKuCXca13si1BDCUGk v5G4AOIbTSFQX/BSAKpuv2VukFzTvR2KMhMm2FyXkht7gYDxbUrQrcWniLX01N+zr850LY UVcuYVv+d+j/1TtecU6MCg5VydtzAhJL/BfSRr4BCpJtbUWhc2XLBzBNBjaQfyH6lnW94o QAhcGACzq+IjXXGZ8G9VasRPDtLb9JfM7BiuQgXK5q47iAv0eCprpIS6texIjA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646654880; a=rsa-sha256; cv=none; b=B2ikAnWEeO6RZ6A/iZdGh9URorT2hSvtno+IAoM3Cm5HDbSrAqU2JEN+T7QMSQwExLbFq7 n2tWrO/QSYCr1ZMxRF0VHEuns2vl4Af4g50S0IBLd1YLeKhnpy5g6E94+gRz/PytNzyvUE 3W0RYnRsgn/bFpfQaFJIJpV0WXjLjWcuFpYCoMVoP61MI2B3rV8wmjdrd/cnGbQaOSHLdN vGVH7TxZ1NQDWyAqXp6NbZzwHs17jESC5hlg/pVdhUj5ISqC8AM4RcaiHp2XgTAHNcrWhx n2XGsuqOsLKpOgyJ4PPGwEh27wewzpMnrK641ii67/AafHM53664K78u5T0UHg== 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: -3.12 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: A231E2AA04 X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: TzuZTQDxv19I Hi Hubert ! You have to edit your system definition to add a user=2E=20 Sharing some files, even your home directory, is not the way to create use= rs=2E Cheers J=C3=A9r=C3=A9my 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=2E > >The standard command for that: > >https://guix=2Egnu=2Eorg/fr/manual/devel/en/html_node/Invoking-guix-syste= m=2Ehtml#Invoking-guix-system > >$ guix system vm Test=2Escm --expose=3D$HOME --share=3D$HOME/tmp=3D/excha= nge > >And the vm starts running, but no way to add an user account: > >$ sudo /gnu/store/zrd2c9czm6fdqd33q7yx2695s2dgy9kl-run-vm=2Esh > >At the graphical login I typed 'root' and validated=2E This opened me a p= rivileged user session=2E =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=2E > >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=2E > >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=2E Anyway, = the following launchs the vm: > >$ sudo /gnu/store/zrd2c9czm6fdqd33q7yx2695s2dgy9kl-run-vm=2Esh -m 1024 -s= mp 2 -nic user,model=3Dvirtio-net-pci > >Here again, I can only connect in a graphical session with root=2E > >Which doesn't surprise me too much, since the home directory is read-only= =2E > >I don't know if there are ways to solve this case=2E=2E=2E Give rights to= home ?=2E=2E=2E > >Thank you in advance if you have any suggestions for me :) > > >Hubert >