This bug was fixed in the package sudo - 1.8.9p5-1ubuntu1.3
---
sudo (1.8.9p5-1ubuntu1.3) trusty-proposed; urgency=medium
* debian/sudoers:
- include /snap/bin in the secure_path (LP: #1595558)
-- Michael Vogt Mon, 10 Oct 2016 10:10:46
+0200
** Changed in: sudo (Ubuntu Trus
I tested this in a trusty lxc. Updated sudo to 1.8.9p5-1ubuntu1.3 and:
# mkdir -p /snap/bin
# cp $(which echo) /snap/bin/echo-test
# su ubuntu
$ sudo echo-test test
test
I'm marking it as verified. Thanks Brian.
** Tags removed: verification-needed
** Tags added: verification-done
--
You recei
Hello Kyle, or anyone else affected,
Accepted sudo into trusty-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/sudo/1.8.9p5-1ubuntu1.3 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.
** Also affects: sudo (Ubuntu Trusty)
Importance: Undecided
Status: New
** Also affects: snapd (Ubuntu Trusty)
Importance: Undecided
Status: New
** Changed in: sudo (Ubuntu Trusty)
Status: New => In Progress
** Changed in: snapd (Ubuntu Trusty)
Status: New => Wo
This bug was fixed in the package sudo - 1.8.16-0ubuntu1.2
---
sudo (1.8.16-0ubuntu1.2) xenial; urgency=medium
* debian/sudoers:
- include /snap/bin in the secure_path (LP: #1595558)
-- Michael Vogt Mon, 15 Aug 2016 18:10:18
+0200
** Changed in: sudo (Ubuntu Xenial)
** Tags removed: verification-needed
** Tags added: verification-done
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1595558
Title:
sudo doesn't have /snap/bin in PATH
To manage notifications about
** Changed in: sudo (Ubuntu)
Importance: Undecided => High
** Changed in: snapd (Ubuntu Xenial)
Importance: Undecided => High
** Changed in: sudo (Ubuntu Xenial)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscr
Hello Kyle, or anyone else affected,
Accepted sudo into xenial-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/sudo/1.8.16-0ubuntu1.2
in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.u
This bug was fixed in the package sudo - 1.8.16-0ubuntu3
---
sudo (1.8.16-0ubuntu3) yakkety; urgency=medium
* debian/sudoers:
- include /snap/bin in the secure_path (LP: #1595558)
-- Michael Vogt Mon, 15 Aug 2016 18:08:34
+0200
** Changed in: sudo (Ubuntu)
Status: Ne
** Patch added: "xenial debdiff"
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1595558/+attachment/4721314/+files/sudo_1.8.16-0ubuntu1.2.debdiff
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/
** Patch added: "yakkety debdiff"
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1595558/+attachment/4721313/+files/sudo_1.8.16-0ubuntu3.debdiff
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1
Closing the snapd tasks, we will fix it in sudo directly.
** Also affects: sudo (Ubuntu)
Importance: Undecided
Status: New
** Also affects: sudo (Ubuntu Xenial)
Importance: Undecided
Status: New
** Also affects: snapd (Ubuntu Xenial)
Importance: Undecided
Status: Ne
Should be fixed with:
https://github.com/snapcore/snapd/pull/1679
** Changed in: snapd (Ubuntu)
Status: Triaged => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1595558
Title:
su
** Changed in: snapd (Ubuntu)
Status: Confirmed => Triaged
** Changed in: snapd (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1595558
Title:
sudo do
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: snapd (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1595558
Title:
sudo
what works is:
ogra@styx:~$ sudo cat /etc/sudoers.d/foo
Defaults
secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
ogra@styx:~$ sudo env|grep PATH
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
but you can only replace the f
also note the PATH extension comes from an /etc/profile.d snipped (which
sudo -i processes as it runs through the whole pam login process)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1595558
Title:
seems that sudo by default does neither carry over the existing env nor
process a pam login ...
it works fine with "sudo -i"
ogra@styx:~$ sudo -i env|grep PATH
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
vs
ogra@styx:~$ sudo env|grep PATH
PATH=/usr/local/sbin:/us
** Description changed:
$ nextcloud.occ
# prints output
$ sudo nextcloud.occ
sudo: nextcloud.occ: command not found
I need to do `sudo /snap/bin/nextcloud.occ` if I want it to run.
+
+ $ sudo env | grep PATH
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
--
19 matches
Mail list logo