GNU bug report logs - #40550
Shell skeletons not working as expected

Previous Next

Package: guix;

Reported by: Alexandru-Sergiu Marton <brown121407 <at> member.fsf.org>

Date: Sat, 11 Apr 2020 10:21:01 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Alexandru-Sergiu Marton" <brown121407 <at> posteo.ro>
To: <bug-guix <at> gnu.org>
Subject: zsh: sudo is not setuid
Date: Sat, 11 Apr 2020 13:10:17 +0300
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




This bug report was last modified 5 years and 63 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.