From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:203:b4db::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mK8AHHRay2GeXgEAgWs5BA (envelope-from ) for ; Tue, 28 Dec 2021 19:41:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uHZnGXRay2HfUgEA9RJhRA (envelope-from ) for ; Tue, 28 Dec 2021 19:41:56 +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 05D973C55F for ; Tue, 28 Dec 2021 19:41:56 +0100 (CET) Received: from localhost ([::1]:48328 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2HQ3-0004yJ-2m for larch@yhetil.org; Tue, 28 Dec 2021 13:41:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2HPJ-0004ws-Fw for help-guix@gnu.org; Tue, 28 Dec 2021 13:41:10 -0500 Received: from buffalo.birch.relay.mailchannels.net ([23.83.209.24]:2111) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2HP5-0004ay-8V for help-guix@gnu.org; Tue, 28 Dec 2021 13:41:09 -0500 X-Sender-Id: instrampxe0y3a|x-authuser|paul@teulu.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 069661203E0; Tue, 28 Dec 2021 18:40:00 +0000 (UTC) Received: from cpanel-008-lon.hostingww.com (unknown [127.0.0.6]) (Authenticated sender: instrampxe0y3a) by relay.mailchannels.net (Postfix) with ESMTPA id 2F2901203A2; Tue, 28 Dec 2021 18:39:59 +0000 (UTC) X-Sender-Id: instrampxe0y3a|x-authuser|paul@teulu.org Received: from cpanel-008-lon.hostingww.com (cpanel-008-lon.hostingww.com [35.177.91.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.121.9.225 (trex/6.4.3); Tue, 28 Dec 2021 18:39:59 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: instrampxe0y3a|x-authuser|paul@teulu.org X-MailChannels-Auth-Id: instrampxe0y3a X-Eight-Obese: 787d78b3697417b3_1640716799807_882571256 X-MC-Loop-Signature: 1640716799807:2580634194 X-MC-Ingress-Time: 1640716799807 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=teulu.org; s=default; h=In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Content-Type:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=lm/7Jz4AM2shoWeV/G1S5kbxNAXFPJKVxs7T4ZoCd8Q=; b=Lh5pnczoNgy9tX7ABGjlDu9Bmc embEjsmdTiHmjTfAk9zkjbd64Iv5D3BlywE2+k/SbH2WcnlITCZlKSQ8WJAEQf3dDR30x19YOnaZ8 5qGrydvmVEY9oovRU3Ek/DMygTVhnLRhxV1kEfDYm/l2mNYKQyYJSj0EBj+r4iydecIOot+MXZTQ7 wtuc+Vtkn6PHtzI+WslMwDa/mB3qr4EPLIbM1e5F9nzOyyEAFHEgsj/EhMIU5C8TxceRfXcT69vu5 p/dYEAv8qqqGl3I3DY5JfmZrShOCXm3IsSYokrHiXGiL0cvOU9EE9SLkTY8FyFmB0h2vBMMBOppRY hzdbpQaw==; Received: from 67.26.169.217.in-addr.arpa ([217.169.26.67]:59820 helo=[192.168.1.161]) by cpanel-008-lon.hostingww.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1n2HO7-0005No-4n; Wed, 29 Dec 2021 05:39:57 +1100 Message-ID: Date: Tue, 28 Dec 2021 18:39:52 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: nmtui - user authorisation Content-Language: en-GB To: Leo Famulari References: <0f941db1-51a5-b579-7f2c-7333057cb402@teulu.org> <6404264d-e6c9-831c-9e5f-8327488201eb@teulu.org> From: Paul Jewell In-Reply-To: X-OutGoing-Spam-Status: No, score=-1.0 X-AuthUser: paul@teulu.org Received-SPF: softfail client-ip=23.83.209.24; envelope-from=paul@teulu.org; helo=buffalo.birch.relay.mailchannels.net X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, HTML_MESSAGE=0.001, NICE_REPLY_A=-3.024, SPF_SOFTFAIL=0.665, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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: , 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=1640716916; 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:dkim-signature; bh=5SuEUvuFl8sPMLj2DzmXtZG2ThKh2wb7d62TGkejkvU=; b=eMx5dae7u69Dc/83S0AUsztkzD8Xac0k/rn3VN0cGzjenHfhVvXyiVbasoVmNF+hvIQbOQ 2wJSEl7OJLJwZixmalIYGoGFuyWTqKsmvWXmeO74QxxkriaPp/YRdCXuQf+UGjYtK3CzFN 4FjsOuHVYgQyCdmgZSWDiE4KOvhNgJmQs9XetpS+3F3GOxG7eyfze2BP4JwWcl6VdhYizh uQRDDWqTE3ewHHlUiGMPdCxirN8RyrUF+1zHY6Fg6kKkdEtlUFcYN6B/aRpOoVCpynrruI +9tyVD5tPz17NHniRY3Q8BB+rKunU3C1pqvN1/STiE7oygLr9QcfW/iTB7vhGQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640716916; a=rsa-sha256; cv=none; b=AUORkgqdZc4r/E4EGbTA4fE3l4S+oWO3kXJ459Fd4RskcVQmM5CZt+Z/UxuRi66s3vgmEZ OQVMVMnCcSvQMiTcz9eYTcY0ow9VreqhoWbb9LchKKRPUXdhg10QMjT/aXz3cHcItLAQzX PB11WKLgDpS9b63irP9jqqPAK1aurh2LaY+BQvjJiOa5uvnNcE1eerDVOELXNZBeHrKoHQ LSdzJGx6VWkkKFT2t8novGwFS861I/KxOtZwPurVzuIXNDOea6+ZmNzy2VCVJyWDPrBWgd ACjp2Z6sGdnGCkt3Yl7p5EyVTRMMqhbdU74xcS3qVHF8yCM4T3WFmcz1h6g41w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=teulu.org header.s=default header.b=Lh5pnczo; 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.87 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=teulu.org header.s=default header.b=Lh5pnczo; 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: 05D973C55F X-Spam-Score: -3.87 X-Migadu-Scanner: scn0.migadu.com X-TUID: bpQSF7lSMQE2 On 27/12/2021 23:20, Leo Famulari wrote: > On Mon, Dec 27, 2021 at 10:07:17PM +0000, Paul Jewell wrote: >> Solved this - nmtui needs to be run as root; my script which invoked the >> program didn't consider that. Changing it to run as sudo gives me an >> opportunity to enter my password, and then successfully setup the wifi >> interface details. > Another option is to add nmtui to the list of programs that are setuid. > That way, any user on your system could configure wifi, which may be > more ergonomic. > > https://guix.gnu.org/manual/devel/en/html_node/Setuid-Programs.html This option did work as expected. The only additional point for anyone else coming across this post with the same issue: remember to add the #:use-module (gnu system setuid) so the setuid record is known. Thanks Leo!