From: "Alexandru-Sergiu Marton" <brown121407@posteo.ro>
To: 40550@debbugs.gnu.org
Subject: bug#40550: zsh: sudo is not setuid
Date: Sat, 11 Apr 2020 13:10:17 +0300 [thread overview]
Message-ID: <C1YAP1W11L61.2VVVOWHR0N902@121408> (raw)
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
next reply other threads:[~2020-04-11 10:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-11 10:10 Alexandru-Sergiu Marton [this message]
2020-04-11 19:38 ` bug#40550: zsh: sudo is not setuid Efraim Flashner
2020-04-13 4:46 ` Alexandru-Sergiu Marton
2020-04-13 5:01 ` Alexandru-Sergiu Marton
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C1YAP1W11L61.2VVVOWHR0N902@121408 \
--to=brown121407@posteo.ro \
--cc=40550@debbugs.gnu.org \
--cc=brown121407@member.fsf.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).