From unknown Sat Jun 21 12:33:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#40550: zsh: sudo is not setuid Resent-From: "Alexandru-Sergiu Marton" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 11 Apr 2020 10:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40550 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 40550@debbugs.gnu.org X-Debbugs-Original-To: Reply-To: Alexandru-Sergiu Marton Received: via spool by submit@debbugs.gnu.org id=B.158660042019442 (code B ref -1); Sat, 11 Apr 2020 10:21:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 Apr 2020 10:20:20 +0000 Received: from localhost ([127.0.0.1]:56179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNDFM-00053W-6J for submit@debbugs.gnu.org; Sat, 11 Apr 2020 06:20:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:50184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNDFK-00053M-Id for submit@debbugs.gnu.org; Sat, 11 Apr 2020 06:20:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43838) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNDFJ-0003Uw-7r for bug-guix@gnu.org; Sat, 11 Apr 2020 06:20:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jNDFH-0005JL-VT for bug-guix@gnu.org; Sat, 11 Apr 2020 06:20:16 -0400 Received: from mout02.posteo.de ([185.67.36.66]:33719) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jNDFH-0005Fd-Ft for bug-guix@gnu.org; Sat, 11 Apr 2020 06:20:15 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id BF8442400FC for ; Sat, 11 Apr 2020 12:20:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.ro; s=2017; t=1586600412; bh=TBWH+yZ3XYAvBmo87Ww3ADfsNQ/Ti2RtbG9BN9KjSoE=; h=Date:To:Subject:From:From; b=fF+lyqZ8xNnAcr54Nq+bsP+yIhtvyMory2UD5YEzKTtRsKp1SN363uO9+DCKhMSLt ztSNbaoEuLO9A4Y9uxsP+jbIRQAxQsCirzplEBAdeJsjlnbV4fHxvK0Yk8XPc5FXaT xl1Lyr1Faqh/q2UM8gO2YSmX8qsrPmRgWLrjttqlJLxHRmEOAUR2NWL3A/+SwACKCx BhpYAfUZJr6KxzFweGriGgOCez5kY+HN7q+ZqsS1036LgeqrrnsPhd29aAL1gAwVez 7F1F3TPoqVlPLUnWDaL6lmV4Qdwnjbyt/kk8DpWbUeJpB+wdhQZoeOjGfssFCMtQIb d2ii63zZH7R0g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 48zrVN17bVz9rxS for ; Sat, 11 Apr 2020 12:20:11 +0200 (CEST) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sat, 11 Apr 2020 13:10:17 +0300 From: "Alexandru-Sergiu Marton" Message-Id: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.67.36.66 X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi, I changed my default shell to zsh with the following line added to my user-account record in my config.scm: (shell #~(string-append #$zsh "/bin/zsh")) After reconfiguring the system and rebooting, when I try to run sudo or su (I guess this problem appears for every thing in %setuid-programs), I get a message saying it isn't actually a setuid program. I'm writing this from a reconfigured system started at the same point as the zsh one started, but with bash. Here I don't have that problem -- setuid programs work as expected. Steps to reproduce: - $ guix pull - Change the default shell to zsh in your config.scm, as presented above. - $ sudo guix system reconfigure config.scm - Reboot. - Try to run sudo or su. It should give you an error. Cheers, Sergiu From unknown Sat Jun 21 12:33:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#40550: zsh: sudo is not setuid Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 11 Apr 2020 19:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40550 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Alexandru-Sergiu Marton Cc: 40550@debbugs.gnu.org Received: via spool by 40550-submit@debbugs.gnu.org id=B40550.158663394113960 (code B ref 40550); Sat, 11 Apr 2020 19:39:02 +0000 Received: (at 40550) by debbugs.gnu.org; 11 Apr 2020 19:39:01 +0000 Received: from localhost ([127.0.0.1]:57114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNLy1-0003d5-2O for submit@debbugs.gnu.org; Sat, 11 Apr 2020 15:39:01 -0400 Received: from flashner.co.il ([178.62.234.194]:46154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNLxz-0003ct-DB for 40550@debbugs.gnu.org; Sat, 11 Apr 2020 15:38:59 -0400 Received: from localhost (unknown [141.226.9.17]) by flashner.co.il (Postfix) with ESMTPSA id 8C5724034D; Sat, 11 Apr 2020 19:38:53 +0000 (UTC) Date: Sat, 11 Apr 2020 22:38:21 +0300 From: Efraim Flashner Message-ID: <20200411193821.GB2191@E5400> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="NKoe5XOeduwbEQHU" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --NKoe5XOeduwbEQHU Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 11, 2020 at 01:10:17PM +0300, Alexandru-Sergiu Marton wrote: > Hi, >=20 > I changed my default shell to zsh with the following line added to > my user-account record in my config.scm: >=20 > (shell #~(string-append #$zsh "/bin/zsh")) >=20 > After reconfiguring the system and rebooting, when I try to run sudo or > su (I guess this problem appears for every thing in %setuid-programs), I > get a message saying it isn't actually a setuid program. >=20 > I'm writing this from a reconfigured system started at the same point as > the zsh one started, but with bash. Here I don't have that problem -- > setuid programs work as expected. >=20 > Steps to reproduce: > - $ guix pull > - Change the default shell to zsh in your config.scm, as presented > above. > - $ sudo guix system reconfigure config.scm > - Reboot. > - Try to run sudo or su. It should give you an error. Do you have sudo installed in a profile? /run/setuid-programs/sudo should be the first 'sudo' in your PATH regardless of the shell. What's the contents of your $PATH? (ins)efraim@E5400 ~$ which -a sudo /run/setuid-programs/sudo /run/current-system/profile/bin/sudo (ins)efraim@E5400 ~$ guix environment --ad-hoc zsh substitute: updating substitutes from 'http://192.168.1.183:3000'... 100.0% substitute: updating substitutes from 'http://192.168.1.217:3000'... 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://bayfront.guix.gnu.org'... 10= 0.0% The following derivation will be built: /gnu/store/yfqfk66vl1s6av45a92ml5l60d2kaxyk-profile.drv 2.1 MB will be downloaded: /gnu/store/icyx0ynnaaradzzxfqyjrwy0x545zdn5-zsh-5.8 The following profile hooks will be built: /gnu/store/8kim2ay78nrlgpdks734hridk21waxhc-fonts-dir.drv /gnu/store/fxdkr919viih72p9s2zkiadgj7r182d1-info-dir.drv /gnu/store/ml3s254v7zf4dmwmfpc59clr0xgllsbn-ca-certificate-bundle.drv /gnu/store/rvd1xybadpnzwlm1qz7iqcsky1dj2myw-manual-database.drv downloading from https://ci.guix.gnu.org/nar/lzip/icyx0ynnaaradzzxfqyjrwy0x= 545zdn5-zsh-5.8... zsh-5.8 2.0MiB 1.6MiB/s 00:01 = [##################] 100.0% building CA certificate bundle... building fonts directory... building directory of Info manuals... building database for manual pages... building profile with 1 package... (ins)efraim@E5400 ~ [env]$ zsh E5400% which -a sudo /run/setuid-programs/sudo /run/current-system/profile/bin/sudo --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --NKoe5XOeduwbEQHU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl6SHK0ACgkQQarn3Mo9 g1G4zA/7BnUaWzvkUMiPOCoyHuFtPB79I1GM/7f2nYN7+g5sEtjtCoFLfav0SS3X p1pGDFEjKPKsVwYwVQTuqacBp1nkkLNhhqIpHrJFfCMLVhGJHYoiTtYMrr6wYAug SWHsR2BEl3CqIcobEs3daq4O2p7BFfIBUMKs2OSMsQVBLTavG7WsP9rei2GsbZU9 kfd28rv4P7sDg2orR7lRijh8tsoOAwbZx+7mO46y94yycEs2IzbT8EsbQSU2Jejb MUz12GVYdigoloKPVW05ZTBPII+kuAuqwlHVKFEu2G0RRuOoi3TqcA0+u+fo3i1s FbO2E5gnh5yQ39A/AdgXUeYEHXfTBKBYMFy+a8QdCCQQXtor2GrU3L0C76ofikJt e9o62wUrg+gxpkUWpbdUa4Rx8F3mSpGdsF8hGAjf3HMNpDTtJMCNCqGxby3pqvcK FHEIto8TiMrA3OodDYjFIR/BHi6eMTs5rCtHMpQYD6JRN6HFEpJavKI9Jc8aqnvh azMFHRPfmxbeoz+7RcD2oGyCau5m6/2dpU69zp3Q9nmz6QN1raxbMUmxbhuhaz2P P5N7yesKmvQJ/ArJtVYcZaidMqCaZuut4sbLYC+lAKgCTQAYKd1b8U7SKYgcoCo6 6Dk6ANAmqNsFdnYsEcdvym9KtvgP5TUtYLYOjtBOeD6sUPe0GKw= =2bTK -----END PGP SIGNATURE----- --NKoe5XOeduwbEQHU-- From unknown Sat Jun 21 12:33:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#40550: zsh: sudo is not setuid References: Resent-From: "Alexandru-Sergiu Marton" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 13 Apr 2020 04:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40550 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "Efraim Flashner" , "Alexandru-Sergiu Marton" Cc: 40550@debbugs.gnu.org Received: via spool by 40550-submit@debbugs.gnu.org id=B40550.158675367123210 (code B ref 40550); Mon, 13 Apr 2020 04:55:02 +0000 Received: (at 40550) by debbugs.gnu.org; 13 Apr 2020 04:54:31 +0000 Received: from localhost ([127.0.0.1]:59109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNr78-00062H-Tl for submit@debbugs.gnu.org; Mon, 13 Apr 2020 00:54:31 -0400 Received: from mout01.posteo.de ([185.67.36.65]:37782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNr76-000621-AP for 40550@debbugs.gnu.org; Mon, 13 Apr 2020 00:54:29 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 1282B16005C for <40550@debbugs.gnu.org>; Mon, 13 Apr 2020 06:54:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.ro; s=2017; t=1586753662; bh=i+Ypr8EqP5IOBuMDypYTh0kixGrV4/fGUJgUtpvINwA=; h=Date:To:Subject:Cc:From:From; b=LhIYgYpbgSHRvQNF8n3CEmyv5zLpT8pqGlJTLfUFc0jrnyHE02Dnu35nhASB88bKU CGgshDotUkmZMx7mNyDGQDksHeaX9fk7+TVkIhdGoEpVRtru4WkSaB0sIByTQarHMB 2H7wC8Z2WwNkdgEbCOKNA7KHf9rIW7cyHqR1dPR0WEPKn89blhcoXYGY8vdcVoDSx/ 2pCuyJTP99a3MtuDpZfmw015we2qZLrb1UCXXSRlE3eN+WutQS2Bspy9PfEBgVWyZ8 c+xv7H/5Fzkz+jqQ3Za2uuA/JsOFblxBlQfVp9QOvw8mXW/LOzQVtrXeLydsN0YDM/ dDlxXlofrezxA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 490x9S6yVjz6tmF; Mon, 13 Apr 2020 06:54:20 +0200 (CEST) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 13 Apr 2020 07:46:58 +0300 In-Reply-To: <20200411193821.GB2191@E5400> From: "Alexandru-Sergiu Marton" Message-Id: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On Sun Apr 12, 2020 at 1:38 AM PST, Efraim Flashner wrote: > Do you have sudo installed in a profile? /run/setuid-programs/sudo > should be the first 'sudo' in your PATH regardless of the shell. What's > the contents of your $PATH? This is my $PATH in zsh: /home/brown/bin:/home/brown/.local/bin:/home/brown/.guix-profile/bin:/home/= brown/.guix-profile/sbin:/run/current-system/profile/bin > (ins)efraim@E5400 ~$ which -a sudo > /run/setuid-programs/sudo > /run/current-system/profile/bin/sudo $ which -a sudo /run/current-system/profile/bin/sudo BUT! $ ls /run/setuid-programs/ dbus-daemon-launch-helper newuidmap pkexec sudoedit fusermount passwd polkit-agent-helper-1 umount mount ping su newgidmap ping6 sudo So it looks like it's a problem with my PATH. While in bash I don't append /run/setuid-programs to it manually, yet bash recognizes the setuid programs. I'll probably add /run/setuid-programs by hand but I'm wondering why doesn't it work by default. Thanks, Sergiu From unknown Sat Jun 21 12:33:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#40550: zsh: sudo is not setuid References: Resent-From: "Alexandru-Sergiu Marton" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 13 Apr 2020 05:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40550 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "Alexandru-Sergiu Marton" , "Efraim Flashner" , "Alexandru-Sergiu Marton" Cc: 40550@debbugs.gnu.org Received: via spool by 40550-submit@debbugs.gnu.org id=B40550.158675421724150 (code B ref 40550); Mon, 13 Apr 2020 05:04:01 +0000 Received: (at 40550) by debbugs.gnu.org; 13 Apr 2020 05:03:37 +0000 Received: from localhost ([127.0.0.1]:59120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNrFx-0006HR-75 for submit@debbugs.gnu.org; Mon, 13 Apr 2020 01:03:37 -0400 Received: from mout01.posteo.de ([185.67.36.65]:55745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNrFv-0006HE-NT for 40550@debbugs.gnu.org; Mon, 13 Apr 2020 01:03:36 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id CDF6216005F for <40550@debbugs.gnu.org>; Mon, 13 Apr 2020 07:03:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.ro; s=2017; t=1586754209; bh=8apZY723rMIktI12iW5g/Jxc5uAdrcX/+0YMX5RMFYE=; h=Date:Cc:From:To:Subject:From; b=DxiNF94qURhaHtAxkBQL5aYjyDSdVhWUpz66AJvJl2/5f4yw7AV7qA5B+84m0sUB1 a7T9POnITkwoMhtkel4EygOLF4D18UtQ664meraUkv4QeX5by8uUbYdCXO04Q9GBi0 xoP2ayRX5j2FogEQefDHw7+VL9uU6rVU2bpyD5o2UmnNRHybyjS+mhBBLB4Ft6A9xz GKXCWubtqKSJ6QqVJ7VMiSq/gRR0fq/80pI9dhCw3/XBVDvyXXZDJ/CbvSI7irc3z+ +9083RfUM8suwESfmSn1kaBPivGlP4SpI5vQZ+rCOXTAjERtof6BjYs6oQFvLTKXgS /J/wntI+Uu34g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 490xN051qQz9rxS; Mon, 13 Apr 2020 07:03:28 +0200 (CEST) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 13 Apr 2020 08:01:09 +0300 In-Reply-To: From: "Alexandru-Sergiu Marton" Message-Id: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Just a few more details. If I boot into a system config with bash as the default shell, this is my $PATH: /home/brown/.guix-profile/bin:/home/brown/.guix-profile/sbin:/home/brown/bi= n:/home/brown/.local/bin:/home/brown/.guix-profile/bin:/home/brown/.guix-pr= ofile/sbin:/run/setuid-programs:/home/brown/.config/guix/current/bin:/home/= brown/.guix-profile/bin:/home/brown/.guix-profile/sbin:/run/current-system/= profile/bin:/run/current-system/profile/sbin If I get zsh through an environment, my PATH still has /run/setuid-programs in it. [brown@121408 ~]$ guix environment --ad-hoc zsh [brown@121408 ~][env]$ zsh [brown@121408 ~]$ echo $PATH /home/brown/.guix-profile/bin:/home/brown/.guix-profile/sbin:/gnu/store/anb= 9bk6qbwhblfr6fqcv6iiq8scyng1i-profile/bin:/home/brown/.guix-profile/bin:/ho= me/brown/.guix-profile/sbin:/home/brown/bin:/home/brown/.local/bin:/home/br= own/.guix-profile/bin:/home/brown/.guix-profile/sbin:/run/setuid-programs:/= home/brown/.config/guix/current/bin:/home/brown/.guix-profile/bin:/home/bro= wn/.guix-profile/sbin:/run/current-system/profile/bin:/run/current-system/p= rofile/sbin [brown@121408 ~]$ which -a sudo /run/setuid-programs/sudo /run/current-system/profile/bin/sudo So my problem happens only when setting zsh as an account's default shell. From unknown Sat Jun 21 12:33:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#40550: zsh: sudo is not setuid Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 13 Apr 2020 17:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40550 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Alexandru-Sergiu Marton Cc: Alexandru-Sergiu Marton , Efraim Flashner , 40550@debbugs.gnu.org Received: via spool by 40550-submit@debbugs.gnu.org id=B40550.158680056728576 (code B ref 40550); Mon, 13 Apr 2020 17:57:01 +0000 Received: (at 40550) by debbugs.gnu.org; 13 Apr 2020 17:56:07 +0000 Received: from localhost ([127.0.0.1]:60710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jO3JX-0007Qq-44 for submit@debbugs.gnu.org; Mon, 13 Apr 2020 13:56:07 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:57027) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jO3JV-0007QL-4S for 40550@debbugs.gnu.org; Mon, 13 Apr 2020 13:56:05 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id E28845C011C; Mon, 13 Apr 2020 13:55:59 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 13 Apr 2020 13:55:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=/mOs97BxQMA2Ut+iDsUIP4Y3 jMMF3jNmLeKqIaCFNEs=; b=q0kNX/Us9WskblszRynCk27SBP+YMD0ZbrpnKo6K tGNR/wTxHBAeaamz2ksgKTkF+8Bv55ybnOkHQ9UmYiJQgUHIDj0W0QX0QBz3j76C saCTFshqY8YxV+eDTTlFhkjIsputOl9ZDTaAbIehUbpVGaO0KaBjrgxiLeQUkk6p feE= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=/mOs97 BxQMA2Ut+iDsUIP4Y3jMMF3jNmLeKqIaCFNEs=; b=b9zWauZsBLIH3Or0IAzAlC QvPjh8ObByJzCMoinFZKld7Ob61Kx0uQTppywosHs2CaFdPrlUMEwksCpmsowlzN OOQZNEZgQWDqi/vNy/ZHNboofINzSOvYaeAXAh/otm3Jxit0GguEZQ4cGnieCJyS I51VyEgmQiFrIu0/rKVqtq2L2BpQxOCM5ctI6CqkPBehW+RItQsGqV4gtGf0HoOW VHnNFBAlY2B5j4C9r0MsQQnFL6Pw31CGyKOUamWV8Kc9T9qIvAS+IzQHv8i75YYI pTaVJhPl4+HiigutVeqe5OU1Sonk1vgqTm4WHjhspExPSziv5IMCW4nVjnT4uSjQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrvdelgdduvddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucffohhmrghinh epsghrohifnhdrlhhotggrlhenucfkphepjeeirdduvdegrddufeekrdeifeenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuh hlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (c-76-124-138-63.hsd1.pa.comcast.net [76.124.138.63]) by mail.messagingengine.com (Postfix) with ESMTPA id 61BD63060064; Mon, 13 Apr 2020 13:55:58 -0400 (EDT) Date: Mon, 13 Apr 2020 13:55:55 -0400 From: Leo Famulari Message-ID: <20200413175555.GB23262@jasmine.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Mon, Apr 13, 2020 at 07:46:58AM +0300, Alexandru-Sergiu Marton wrote: > On Sun Apr 12, 2020 at 1:38 AM PST, Efraim Flashner wrote: > > Do you have sudo installed in a profile? /run/setuid-programs/sudo > > should be the first 'sudo' in your PATH regardless of the shell. What's > > the contents of your $PATH? > > This is my $PATH in zsh: > /home/brown/bin:/home/brown/.local/bin:/home/brown/.guix-profile/bin:/home/brown/.guix-profile/sbin:/run/current-system/profile/bin Setting up Zsh should definitely work when creating a new user's home directory, but maybe it doesn't do the right thing when changing a user's shell after the home directory has already been created. We should look into that. Please copy the contents of '/etc/skel/.zprofile' to your zprofile file and check for the /run/setuid-programs in your $PATH after logging in again with `zsh --login`. From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 13 13:56:56 2020 Received: (at control) by debbugs.gnu.org; 13 Apr 2020 17:56:56 +0000 Received: from localhost ([127.0.0.1]:60714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jO3KK-0007Rv-DH for submit@debbugs.gnu.org; Mon, 13 Apr 2020 13:56:56 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:53201) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jO3KI-0007Ri-R1 for control@debbugs.gnu.org; Mon, 13 Apr 2020 13:56:55 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id AA1655C011C; Mon, 13 Apr 2020 13:56:49 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 13 Apr 2020 13:56:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:message-id:mime-version:content-type; s=mesmtp; bh=aaCIgzGN/6p57mzkZ+mLQEepSBiRQ3zlkBREMyd3vIw=; b=Ad2M4yBjuSuO 8BJycry4QB8V1y2B9EpaLSkDQB+35mTxQvKgW7Gd1+9TE7gxyejyOV1jxF/cf4CH /gfjjZpRvhoD41DhbAPqSyP0tAKVnuh/VdB3+GjI0wuHB7Bf8VEiuzuIHdmDNjXA QM95Hc14sI2nRd0Osb5ChT2W1IuAnt0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=aaCIgzGN/6p57mzkZ+mLQEepSBiRQ3zlkBREMyd3v Iw=; b=wcFu7QiOiaaYCIZzTqygG+CnTFX4fSp1Gb29Ww8NBsZQ/Qb3ccSG+YPMG Sjs6GXhSD98JBOg+TWw+VUTo/ZaKLALF1XHiiG0cFTd0/OiTzphfW2LVbFIDOdPu +DyYEkkG7VZJoy3z1LIpboCBnboFlV6Q6GqZM7cJItaPe5qgbXDbml3gxrK5Dnot Oo5K2I5LQNljorfq8DHGlu2hRIjiWb3H68iua13VRBWzAYZDd+jMRuBucC/Szf9c QglbkvEoNwJaaWtTItgmMWPGWopUXOQ+MEnWGqKWgi6nRUCE/1YUbhfXncYOAEBp lNMW4uxp8zrbob7g1uagalV0H8y9w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrvdelgdduvddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucfgmhhpthihuchsuhgsjhgvtghtucdluddtmdenuc fjughrpeffhffvkfggtggusehttdertddttddvnecuhfhrohhmpefnvghoucfhrghmuhhl rghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucfkphepjeeirdduvdegrd dufeekrdeifeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (c-76-124-138-63.hsd1.pa.comcast.net [76.124.138.63]) by mail.messagingengine.com (Postfix) with ESMTPA id 6F6443060064 for ; Mon, 13 Apr 2020 13:56:49 -0400 (EDT) Date: Mon, 13 Apr 2020 13:56:47 -0400 From: Leo Famulari To: control@debbugs.gnu.org Message-ID: <20200413175647.GA24060@jasmine.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: retitle 40550 "Shell skeletons not working as expected" Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: messagingengine.com] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [66.111.4.29 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) retitle 40550 "Shell skeletons not working as expected" From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 13 14:02:13 2020 Received: (at control) by debbugs.gnu.org; 13 Apr 2020 18:02:13 +0000 Received: from localhost ([127.0.0.1]:60725 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jO3PR-000171-7q for submit@debbugs.gnu.org; Mon, 13 Apr 2020 14:02:13 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:55655) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jO3PP-00010Z-DZ for control@debbugs.gnu.org; Mon, 13 Apr 2020 14:02:12 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 6EDF6901; Mon, 13 Apr 2020 14:02:05 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 13 Apr 2020 14:02:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:message-id:mime-version:content-type; s=mesmtp; bh=8G3FpIfhdtK9waIaplM/5F/1Boli5QnaydmHGtgY6bg=; b=LIkQlP9MzfLt t0bi6CmQHFxLBPG1Y9dV5D+iBxR25n/ibh0Wqp48Pt6dkbohHzEK1O1smHJQFKOI 13At0UUTWMy/xAVdOC0x9+onfXfe5OvTGh1O3wLFF4v2F0VBOQmAaM2xY7RJmoOe BfPO2LFJ4brPd3FDUei2/BKbB43bzWE= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=8G3FpIfhdtK9waIaplM/5F/1Boli5QnaydmHGtgY6 bg=; b=atXD9HTRa2/jhHciYPZCli4sY4+4q7RT0g6oTNd44fSaHqYUyknw6m0nQ XFmFIZotIZyvB61J56Hp7VQctAwSVCVx3JeeHyzQhsBWwy81cgwGPWJdbrzO6RAV EOAeCXCqOqyyseHHktf13hPwA8qNNlODR5eLEngo+PjRZOHSBWE0pISuH7Smj2eQ UROsUMlV5QLBGoDSKSFdv9XAIh7LRweE9zBEv+Bmm1DOZIslgscUqGosMvVoGwbT KbzfGVGars1GRJuW0Ez/ihBxzOStzPX/nmYQMiwpZDCgQr+1NhBX9xYfBBCxvOOj CmGZiuDXtdAqsVP0HSovaRITX3DIQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrvdelgdduvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucfgmhhpthihuchsuhgsjhgvtghtucdluddtmdenuc fjughrpeffhffvkfggtggusehttdertddttddvnecuhfhrohhmpefnvghoucfhrghmuhhl rghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucfkphepjeeirdduvdegrd dufeekrdeifeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (c-76-124-138-63.hsd1.pa.comcast.net [76.124.138.63]) by mail.messagingengine.com (Postfix) with ESMTPA id 3DA8F3060074 for ; Mon, 13 Apr 2020 14:02:04 -0400 (EDT) Date: Mon, 13 Apr 2020 14:02:02 -0400 From: Leo Famulari To: control@debbugs.gnu.org Message-ID: <20200413180202.GA24258@jasmine.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: retitle 40550 Shell skeletons not working as expected Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: famulari.name] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [64.147.123.20 listed in list.dnswl.org] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) retitle 40550 Shell skeletons not working as expected From unknown Sat Jun 21 12:33:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#40550: zsh: sudo is not setuid Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 13 Apr 2020 19:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40550 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Alexandru-Sergiu Marton Cc: Alexandru-Sergiu Marton , Efraim Flashner , 40550@debbugs.gnu.org Received: via spool by 40550-submit@debbugs.gnu.org id=B40550.158680529627349 (code B ref 40550); Mon, 13 Apr 2020 19:15:02 +0000 Received: (at 40550) by debbugs.gnu.org; 13 Apr 2020 19:14:56 +0000 Received: from localhost ([127.0.0.1]:60820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jO4Xn-000772-Kw for submit@debbugs.gnu.org; Mon, 13 Apr 2020 15:14:55 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:40671) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jO4Xm-00076q-71 for 40550@debbugs.gnu.org; Mon, 13 Apr 2020 15:14:54 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 539B191C; Mon, 13 Apr 2020 15:14:48 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 13 Apr 2020 15:14:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=+j47yFcVoItglgZN5rjKnfJt yw3crYxB2VmTsJii2hI=; b=i0TUoiez6nDqkF+0D0Z9UFJyMoIEqzGYb9HOJHUO YwXUbslh4+KNxli9Co1T0BmbnXynnNntJ/FyGO2iWE1+zjhPQHCnigaxicsq7JLq JBggUQi4ZMiCgrB1ffqSvWhOtBUKCCq0VTVPjnuB3NuXy5EutT8UND0x6iNRPNyI BNU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=+j47yF cVoItglgZN5rjKnfJtyw3crYxB2VmTsJii2hI=; b=u/pWXe7tESxnIfhUTmSHBe 5U+J0gunxs4FN+HLVLe6W7jngfS1ztN88nh9Zp0c3oK1CfG31HKrvtLlqhwzj6eB JjSjIdFpGHGuFR6Mi56qR9z+uKhXgd1tVUBnnuH9BOkqugbF5VQYlB/5NdxFMsRF s1d0gteATVoVt/Nmayn+zz4Y/Y9Qz3xnKiwiMMEYkDDyirzokWV8rkd1NxmKPIe9 s1uVnG9+VyTlOb3Tb4rNNcLic4CPX996+dEKGXSdYpSwaEjug1evpws95sNhfry5 EjOuyZycqfCwP2JF42sFhHLETU9T4rNwnFuzSg3tIWgLgAmgDu7otdnmC3XA1aWA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrvdelgddufeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucfkphepjeeird duvdegrddufeekrdeifeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgr ihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (c-76-124-138-63.hsd1.pa.comcast.net [76.124.138.63]) by mail.messagingengine.com (Postfix) with ESMTPA id 9851D3060071; Mon, 13 Apr 2020 15:14:46 -0400 (EDT) Date: Mon, 13 Apr 2020 15:14:40 -0400 From: Leo Famulari Message-ID: <20200413191440.GA26537@jasmine.lan> References: <20200413175555.GB23262@jasmine.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200413175555.GB23262@jasmine.lan> X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Mon, Apr 13, 2020 at 01:55:55PM -0400, Leo Famulari wrote: > Setting up Zsh should definitely work when creating a new user's home > directory, but maybe it doesn't do the right thing when changing a > user's shell after the home directory has already been created. We > should look into that. I tested it, and if the file ~/.zprofile already exists when Guix tries to set up its own ~/.zprofile, then nothing is done. Maybe you already had a ~/.zprofile? From unknown Sat Jun 21 12:33:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#40550: zsh: sudo is not setuid References: Resent-From: "Alexandru-Sergiu Marton" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 17 Apr 2020 06:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40550 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "Leo Famulari" Cc: Alexandru-Sergiu Marton , Efraim Flashner , 40550@debbugs.gnu.org Received: via spool by 40550-submit@debbugs.gnu.org id=B40550.158710618517080 (code B ref 40550); Fri, 17 Apr 2020 06:50:01 +0000 Received: (at 40550) by debbugs.gnu.org; 17 Apr 2020 06:49:45 +0000 Received: from localhost ([127.0.0.1]:39841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPKoq-0004RQ-OF for submit@debbugs.gnu.org; Fri, 17 Apr 2020 02:49:44 -0400 Received: from mout02.posteo.de ([185.67.36.66]:37387) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPKoo-0004RC-NU for 40550@debbugs.gnu.org; Fri, 17 Apr 2020 02:49:43 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 78B272400FC for <40550@debbugs.gnu.org>; Fri, 17 Apr 2020 08:49:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.ro; s=2017; t=1587106176; bh=yhUgGZQUt4oRfHsVMtL6nx4VzsqD5M4R1bfDMS6Rj5c=; h=Date:Subject:From:To:Cc:From; b=gy7oM4m09jHJy4PeShS26fSnnXLKV+yOwHdEaabXAM3A0eaeOE23N1XDJuzLlqkmV 6vnAMMXzIhmRD8sygBHEkSaXGUuMH7NqioFiMVcgUC/luw8JZ53oLkqq0/M80ReJaj oUih/YyyM/3id7A+pJCxqvi5LW4wYNOHPrynhb1SVepGEgEPct/BqU9HPGXA6ZNlwy QwOIxtd9KPlsd+JneWrIVOq7XBN7XNr1cpf7kf5OyE7AZMZSdpbKY89Rocyv1qpK/p Z8RVAjfhV7ctNOwRja8SDx5WVzicR5CBIPBvMiwcR0asdo23ElvnyRO1cEHb71/SZF TSqehLPJpbbbg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 493RXZ2jZtz6tm9; Fri, 17 Apr 2020 08:49:34 +0200 (CEST) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 In-Reply-To: <20200413191440.GA26537@jasmine.lan> Date: Fri, 17 Apr 2020 08:45:29 +0300 From: "Alexandru-Sergiu Marton" Message-Id: X-Spam-Score: -3.1 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) On Mon Apr 13, 2020 at 6:14 PM PST, Leo Famulari wrote: > I tested it, and if the file ~/.zprofile already exists when Guix tries > to set up its own ~/.zprofile, then nothing is done. Maybe you already > had a ~/.zprofile? Yes. That should be the problem then. It is confusing though, because I didn't think for a second that might affect it. How is this set up on bash? It doesn't look like there is any place where /run/setuid-programs is appended to PATH in any of my bash files. From unknown Sat Jun 21 12:33:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#40550: zsh: sudo is not setuid References: Resent-From: "Alexandru-Sergiu Marton" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 17 Apr 2020 08:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40550 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "Leo Famulari" Cc: Alexandru-Sergiu Marton , Efraim Flashner , 40550@debbugs.gnu.org Received: via spool by 40550-submit@debbugs.gnu.org id=B40550.158711035923400 (code B ref 40550); Fri, 17 Apr 2020 08:00:02 +0000 Received: (at 40550) by debbugs.gnu.org; 17 Apr 2020 07:59:19 +0000 Received: from localhost ([127.0.0.1]:39874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPLuA-00065M-U4 for submit@debbugs.gnu.org; Fri, 17 Apr 2020 03:59:19 -0400 Received: from mout02.posteo.de ([185.67.36.66]:47063) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPLu9-000658-0i for 40550@debbugs.gnu.org; Fri, 17 Apr 2020 03:59:17 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id AFE8A24010B for <40550@debbugs.gnu.org>; Fri, 17 Apr 2020 09:59:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.ro; s=2017; t=1587110350; bh=ahQz1VH8ZGFHG1IKYeqFyuRDXnsXWWgg93b85DIUuaY=; h=Date:From:To:Subject:Cc:From; b=DvCMqPjYd2ZXrocK4VIZflRlTdUvcvQktpMvWlLm5aftcpP6+ZVgLCcTHQ2OJ2hNy 7/lMRr1VFyMx2f5fbLkf6+tSmxXFAeTsdYVOzp6BKOCRegUzNA2DhtniC9L1pcXMRS Bi8dUlqr87VY8Dq2+e1PUl37FFQ+mbbvJheDegYP6Xk6BzBwS9veAwEIjy7+dqMSge 62YgYHqbXdAy+wQvFI68qjiyU847QD5m7TyMPJUNemmF85Ey/0ApSu8NOOJw4PeYPT 3OBSCQg5ZlkoRDuQp5xSXtLiKHo6U/p8bADzXOsjE6ERfs4nex+GX0iE2oRg850SDu ncS4CSWCUAa4w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 493T4q1F71z6tms; Fri, 17 Apr 2020 09:59:06 +0200 (CEST) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 17 Apr 2020 10:58:52 +0300 From: "Alexandru-Sergiu Marton" In-Reply-To: <20200413191440.GA26537@jasmine.lan> Message-Id: X-Spam-Score: -3.1 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) On Mon Apr 13, 2020 at 6:14 PM PST, Leo Famulari wrote: > I tested it, and if the file ~/.zprofile already exists when Guix tries > to set up its own ~/.zprofile, then nothing is done. Maybe you already > had a ~/.zprofile? What does "when Guix tries to set up its own ~/.zprofile" exactly mean? When should that happen? I tried reconfiguring my system to use zsh and I deleted my ~/.zprofile prior to that, but after the reconfiguration there was no new ~/.zprofile created in my home dir. Currently I append /run/setuid-programs manually to my PATH to get around this issue. From unknown Sat Jun 21 12:33:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#40550: zsh: sudo is not setuid Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 17 Apr 2020 14:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40550 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Alexandru-Sergiu Marton Cc: Alexandru-Sergiu Marton , 40550@debbugs.gnu.org, Leo Famulari Received: via spool by 40550-submit@debbugs.gnu.org id=B40550.158713473131895 (code B ref 40550); Fri, 17 Apr 2020 14:46:01 +0000 Received: (at 40550) by debbugs.gnu.org; 17 Apr 2020 14:45:31 +0000 Received: from localhost ([127.0.0.1]:41433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPSFH-0008IM-B3 for submit@debbugs.gnu.org; Fri, 17 Apr 2020 10:45:31 -0400 Received: from flashner.co.il ([178.62.234.194]:35136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPSFG-0008IA-8R for 40550@debbugs.gnu.org; Fri, 17 Apr 2020 10:45:30 -0400 Received: from localhost (unknown [141.226.9.17]) by flashner.co.il (Postfix) with ESMTPSA id 59C3F401AA; Fri, 17 Apr 2020 14:45:24 +0000 (UTC) Date: Fri, 17 Apr 2020 17:44:52 +0300 From: Efraim Flashner Message-ID: <20200417144452.GA9867@E5400> References: <20200413191440.GA26537@jasmine.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="dDRMvlgZJXvWKvBx" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 17, 2020 at 10:58:52AM +0300, Alexandru-Sergiu Marton wrote: > On Mon Apr 13, 2020 at 6:14 PM PST, Leo Famulari wrote: > > I tested it, and if the file ~/.zprofile already exists when Guix tries > > to set up its own ~/.zprofile, then nothing is done. Maybe you already > > had a ~/.zprofile? >=20 > What does "when Guix tries to set up its own ~/.zprofile" exactly mean? > When should that happen? I tried reconfiguring my system to use zsh and > I deleted my ~/.zprofile prior to that, but after the reconfiguration > there was no new ~/.zprofile created in my home dir. I believe it would only insert a new .zprofile when a new user is created. zprofile is in (gnu system shadow) and currently it only sources /etc/profile. >=20 > Currently I append /run/setuid-programs manually to my PATH to get > around this issue. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --dDRMvlgZJXvWKvBx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl6ZwOQACgkQQarn3Mo9 g1GC1g/+MTUXbdzSkMxH7vSJE9kGMNpIar/9vzsoIZozzljg17InFlD2AJKEnC6c XlrJj4HUEiYDWzx61kfBxgjvHNY8h/mMD+OX6CrsAE+671DLd8+/OVwl7wpr98e2 CdLRY38xI3b1krGEz5HyuDV4LkL/bO6agT8wv3rMGtVaN74a/zsZdpUp8MFMu6DT gFqtNJE41byxIfhZzpQCkT7587t6FJ+xDA1rEk1T11LX64o0iXGn0QoeeqNH+J3Y 0+jm0SMnnP2WWZIrJRYFneWxe4l7vINgGMEgXdCAXSc+mn05qldLCuWZiO7gTUd9 hPlnBnUpUFTVURkJPz6XzDxoShExlnhCO41f/S2PYF2LdMXUUhBVdkoL1i+drPzS P3QmHfHhOQQ646lyCjZokoDJO6wzd56UBX4P+m1J8gr8VkXa/c9gNf1AZQGG6ZNY ihOZ65kljkfSn4bzoGt9i1ZHRR3rPJOxqwzHCCatQrWxCN72cs5nfCNyQVYX7wFt Q6KSPrU5Xjkfog8uKPP3w9sfsMom1rIUrOyAzsx6/q4JVJzUYqMfP/imehQ4f0Fz mm6XYaJVymi79HWqLf6EAVyetigPgjAUZrYUthaID5+wuUbciYjXQE72UkFpzg0W EKLeUBujeByHNlPoxkpRLoBccyRmDhsjaQ7AJG89NDQSDv/yzKA= =gb6I -----END PGP SIGNATURE----- --dDRMvlgZJXvWKvBx--