all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Alexandru-Sergiu Marton" <brown121407@posteo.ro>
To: Alexandru-Sergiu Marton <brown121407@posteo.ro>,
	Efraim Flashner <efraim@flashner.co.il>,
	Alexandru-Sergiu Marton <brown121407@member.fsf.org>
Cc: 40550@debbugs.gnu.org
Subject: bug#40550: zsh: sudo is not setuid
Date: Mon, 13 Apr 2020 08:01:09 +0300	[thread overview]
Message-ID: <C1ZTDG94A66R.2JBWC49HEZ1NI@121408> (raw)
In-Reply-To: <C1ZT2LM0ATS0.3LWS5KNCFSPWV@121408>

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/bin:/home/brown/.local/bin:/home/brown/.guix-profile/bin:/home/brown/.guix-profile/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/anb9bk6qbwhblfr6fqcv6iiq8scyng1i-profile/bin:/home/brown/.guix-profile/bin:/home/brown/.guix-profile/sbin:/home/brown/bin:/home/brown/.local/bin:/home/brown/.guix-profile/bin:/home/brown/.guix-profile/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
[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.

  reply	other threads:[~2020-04-13  5:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-11 10:10 bug#40550: zsh: sudo is not setuid Alexandru-Sergiu Marton
2020-04-11 19:38 ` Efraim Flashner
2020-04-13  4:46   ` Alexandru-Sergiu Marton
2020-04-13  5:01     ` Alexandru-Sergiu Marton [this message]
2020-04-13 17:55     ` Leo Famulari
2020-04-13 19:14       ` Leo Famulari
2020-04-17  5:45         ` Alexandru-Sergiu Marton
2020-04-17  7:58         ` Alexandru-Sergiu Marton
2020-04-17 14:44           ` Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C1ZTDG94A66R.2JBWC49HEZ1NI@121408 \
    --to=brown121407@posteo.ro \
    --cc=40550@debbugs.gnu.org \
    --cc=brown121407@member.fsf.org \
    --cc=efraim@flashner.co.il \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.