From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id qEcIMH2BmGTy6AAASxT56A (envelope-from ) for ; Sun, 25 Jun 2023 20:03:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oJwBMH2BmGTKggEA9RJhRA (envelope-from ) for ; Sun, 25 Jun 2023 20:03:41 +0200 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 8BB2DBE7F for ; Sun, 25 Jun 2023 20:03:41 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qDTHZ-00088o-Ov; Sun, 25 Jun 2023 13:12:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qDTHZ-00088f-37 for help-guix@gnu.org; Sun, 25 Jun 2023 13:12:13 -0400 Received: from sail-ipv4.us-core.com ([208.82.101.137]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1qDTHW-0004ls-S4 for help-guix@gnu.org; Sun, 25 Jun 2023 13:12:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=1JbmgdfD+DqVkj0 MKYea6FxvdDTA9/BttOM5f06lNig=; h=cc:to:subject:date:from:in-reply-to: references; d=lease-up.com; b=NXn6QNpY/jgo2mU91iJV/+5sl8tZp9v+eC95rymP 5yihY7THgoi755BwgZPWYLVQ5quDgN45bLVgqeeknB9hUFGauzySEg4hiZaDpE/6y4yZt8 5uWcY5qcPCXY4yk9/CyJItPmwyiiaR3Gr3shMnzF3MFgArGS4ZVQdLSPquKEc= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 8f64fe2c (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for ; Sun, 25 Jun 2023 17:12:06 +0000 (UTC) Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-4f8735ac3e3so3211014e87.2 for ; Sun, 25 Jun 2023 10:12:05 -0700 (PDT) X-Gm-Message-State: AC+VfDzfsaTAggoeTSabLKVs2hul2BFBs4UWuQUSCN9qYitfk6ZEnQ97 9/Vrsh1JVXSAaZ8dscElSCU7X+mmd3Gg/RSAnNE= X-Google-Smtp-Source: ACHHUZ4H8YMy5+Omv3kelrkHCw0nkTthypZD1RqSB0PmLIe+QTA84d4HvnLdGi0OQjq1JaEv3B5XsV06MFKUhu1OGO0= X-Received: by 2002:ac2:5b05:0:b0:4f6:2b29:b446 with SMTP id v5-20020ac25b05000000b004f62b29b446mr15796677lfn.21.1687713123804; Sun, 25 Jun 2023 10:12:03 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Sun, 25 Jun 2023 10:11:27 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Need help creating a new user account in Guix Distro To: Dr Ibrahim El-Nahhal Cc: help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=208.82.101.137; envelope-from=felix.lechner@lease-up.com; helo=sail-ipv4.us-core.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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: , Reply-to: Felix Lechner From: Felix Lechner via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687716221; h=from:from:sender:sender:reply-to: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:dkim-signature; bh=uXGfmFyxvVtruMIQdIEf+QcAOVN0NHNQ2E/O3vQPfwg=; b=aByjkc2ZWbM8nyK7cNXkrdIzP2JY9fJ6z0C6U9WdC6ytKYDVtvJymza0aaq0LZOW1MPq6T E2NEY7dQWrppa98g+tE0c0DyYN4jC1adeyHifuSNsbHYx4yKd6kG/NRKuZUlbN3F83VsZI p8541RXqTVkQMA5qDkmqPNAc6zhfzAEIu51CZiikJqyAeRKeZYssjzFF3WsbwAzSe+xMU0 EFdQB66sdxVf2C0HiG3euS7xzOzUudeNM1RTpUWbXxkF3KUzxEyQ8+OjKoVmBoLHGCIVh1 6x5IX468C2CzE1CM/GQ3jefDKUY0lbvrkcqJZimqUy5mF4UGzW0fKUPeqNpZag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=NXn6QNpY; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687716221; a=rsa-sha256; cv=none; b=NLaKUlqbwzluN5UXMidti3C7ZRdVYk/ypQRcguPfA6EWAv06o2HJFg8uVTfQpmbIT5uVH3 UKXqCgW5YYvZfBR9Xp8odvGqjVgGUlfk9LcOrMf2oD180xESn6WSUo7xJXnxbACqoqXH3Y s1yhepMvzqpNdoTtiHZHZDY5MLcTjDg0BTSn70II7eKVeaC51ig9X/erSuhca+9YhVjb2o P/BfAz6OiY1LWMq/gOJfiAaFC85e1CGzdF73Cjqrwh3oMRieaQcfkDC2+5RyvNjmu8Wt/Q nhn708VKlY95geg3BVt5UZFlU0xbkkOVBqz6na9+TkrnmtlBUp3qi0uMapjwGA== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -3.55 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=NXn6QNpY; dmarc=pass (policy=none) header.from=gnu.org; 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: 8BB2DBE7F X-Spam-Score: -3.55 X-TUID: hMfb+qabAjHz Salaam Dr. El-Nahal, On Sun, Jun 25, 2023 at 1:44=E2=80=AFAM Dr Ibrahim El-Nahhal wrote: > > have used the "useradd" command to create the account, and > it was successful. However, I am unable to login to this account. Like you, I also found that part super confusing. As a declarative operating system, Guix creates the lines in /etc/passwd at boot time unless they exist already. Personally, I succeeded with a config.scm that specified an explicit password. [1] I changed the password immediately upon login and then removed it from the config.scm. Those are my user declarations now, [2] and that's how I use them. [3] Perhaps that information is helpful to you. Thanks for using GNU Guix! Kind regards Felix [1] https://issues.guix.gnu.org/42541 [2] https://codeberg.org/lechner/system-config/src/branch/history/users.scm [3] https://codeberg.org/lechner/system-config/src/commit/011c5fddbd4e6ea4a= 0563788db0b07c9250bdbc1/host/lechner-desktop/operating-system.scm#L181