From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id OFNwNtDzR2Q0eQEASxT56A (envelope-from ) for ; Tue, 25 Apr 2023 17:37:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wO90NdDzR2T6WgAAG6o9tA (envelope-from ) for ; Tue, 25 Apr 2023 17:37:52 +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 A4691442BC for ; Tue, 25 Apr 2023 17:37:52 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=jpoiret.xyz header.s=dkim header.b=tCo8NyB3; dmarc=pass (policy=reject) header.from=jpoiret.xyz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682437072; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=dryYLZqLYGnPcZx6dDZk+laJ5tanrfu6HEBB69YQv+I=; b=iG1NfpX9Ji5nTS8F33sj5r134XN5/HIVSPyyUiR/KaiMnzSv0R2il8s66PAJRV9R+UcKpN rZJnYQtWiqc8oqKH+wQCGrZwW4zdTzb7/9DCW8rEcNRWbcKk7QgCNJn2apKU5Mzr754Qyy XuZbnGf/Vw4KR0t/THen0IPc2KYWfRSlEm54vbU7/zwoB7gQNCJNzN9L2lqoC1z27yt34H DBIByAOZuzlHG2lhPiqEyC8MqFvaOJhHvoAPiEdy+2+mQLVQWx+xSCLAkJyTfXzuZAD6Xn UdfgFGi8RVtSNicxDL6P0GPxST1vfK56s3FlaB3tjZ3ImwIEY8vbdfU6C1qtyQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=jpoiret.xyz header.s=dkim header.b=tCo8NyB3; dmarc=pass (policy=reject) header.from=jpoiret.xyz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682437072; a=rsa-sha256; cv=none; b=sUV20oNezoKmwumBmf9vX1zzc2gRGitYs/29xxFmEB8j8pSAtRxM3++d4x2dKbrTAzG1Lb Am8qembAuDGyCydYVB7gNnqCKpBMEGVlYDv5Nu2nsylJ7k6zbg2lytoje4KIkeds2Okrjw 1hkFgekZ1tWAMS3ifIFnMffa0V0gpMvsMyTWOKmLGe/Q2zp0ZPEpf3Lg/AdAG0jCS0/HjW M8mnvSAgM5yxr84DS+mnBbQppktnwo7Kw98nayNNdLwmCE+Rkc8tdxgVRg8MfjInNkWV+n 4RualeZI2TK6lAHdggrf2+VaScHT7TnqU8yHcaFtL23dG+2d1R3dDuZuRHxSYw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1prKjU-0008PG-7M; Tue, 25 Apr 2023 11:37:32 -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 1prKjS-0008OE-ID for guix-devel@gnu.org; Tue, 25 Apr 2023 11:37:30 -0400 Received: from jpoiret.xyz ([206.189.101.64]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1prKjQ-0004NJ-UG for guix-devel@gnu.org; Tue, 25 Apr 2023 11:37:30 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 67739184F6B; Tue, 25 Apr 2023 15:37:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1682437046; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=dryYLZqLYGnPcZx6dDZk+laJ5tanrfu6HEBB69YQv+I=; b=tCo8NyB3ZSUJn+RkR2GpTpK2GXUu59zPGQybbhB9koAnOANSfmJH1cen+IqWQH7TMrDurF LXcGn+05F3luXhO80U+gWVfC6TRTzLFp5+NwLFurTfZlV1W0/Zb9BizCt6bfCY3PCNBYzC 4iZfLpheTdccU6jJc424hfF0k2753Ui1RbZy7csogPH4nPbw49yLLo8wBTmiofJ5jwrl01 orjxSUnczvDxHulEl7hD+44SJGYPIf22EgElPyalys3tsk9RAwV3KfoAdW46Nfhm0M1bNI QOPCVGSopQk+2qAxLf9b2/dPoovhOyY05/xeN89/oZ4i3zM7ABF5y68bX4eqOQ== From: Josselin Poiret To: Felix Lechner Cc: Guix Devel Subject: Re: Setuid handling? In-Reply-To: References: <87354otagp.fsf@jpoiret.xyz> Date: Tue, 25 Apr 2023 17:37:23 +0200 Message-ID: <87wn20rn0s.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spamd-Bar: + Received-SPF: pass client-ip=206.189.101.64; envelope-from=dev@jpoiret.xyz; helo=jpoiret.xyz 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_PASS=-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: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: UNKNOWN X-Migadu-Spam-Score: -5.33 X-Spam-Score: -5.33 X-Migadu-Queue-Id: A4691442BC X-Migadu-Scanner: in3.migadu.com X-TUID: 41062nXjt7BM --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Felix, Felix Lechner writes: > $ command -v su > /home/lechner/.guix-home/profile/bin/su This is the crux of the issue here, it should be /run/setuid-programs/su. Are you on Guix system? /run/setuid-programs/ should be at the top of your PATH. The default /etc/profile should ensure that, but if you do anything else with env variables it might get shadowed. I am not too sure of how guix home deals with this, you might have to dig deeper there. Best, =2D-=20 Josselin Poiret --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHEBAEBCAAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmRH87MQHGRldkBqcG9p cmV0Lnh5egAKCRBQXkC5FhcaivGiC/98AyCrI/8Pf5nJNtMuBem1OR7MG8DyjJm0 CD+vWtjNz+zlPbohdYOFFX55ylbHoY+dchYdXgeHfj1f90K0dYmW2RQcZjYz4aXR 0cxf+s6p7snMR9mlEWqqe9oqorwpyWwpWfS8ZfgskRknUpn8irxTtC8/Xuuy1iQM VuHV9oodTyKo+DaPSNOMMOG2rznYdJm2CV48FKYjhHxGjvfOPzbVcPdvqRIjlQEk vrTxL7hjFl9qWTNd8kfA9SC7+D5T5ySYKWV8qdqNRNFI5DN3IpVCavJCikp01Urn Sar+UVQa33iC9sRhI2CcthL8obRS8zW+n8x2NbAK0/+0gMoABq6TcSdfGCWApRdX 1KiiLWJ88aKHu4uGttA7AqY8553Ox4h/pXEoyR2Hy9XiK5FrKGzi/BfsfwaQUqV0 qsnqdNK5EyhEaFJcqqAzqv9ie6PBjw8i8tG4qYVY9R3muEIn9Dyw0VdEHJ1cT0NU hdm1Ue7j0ViWKGK+p2dHhSP6fsOFEj0= =bIpb -----END PGP SIGNATURE----- --=-=-=--