[Bug 1799857] Re: sudo -p '' displays a password prompt which it shouldn't
David Partridge
1799857 at bugs.launchpad.net
Thu Oct 25 19:06:10 UTC 2018
There must be something in the code that is causing this. I confirm
that neither the EV SUDO_PROMPT, nor passprompt_override in /etc/sudoers
are set.
While I agree that it's purely cosmetic, it would be nice to have it
fixed (pretty please).
Cheers
Dave
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sudo in Ubuntu.
https://bugs.launchpad.net/bugs/1799857
Title:
sudo -p '' displays a password prompt which it shouldn't
Status in sudo package in Ubuntu:
Won't Fix
Bug description:
I have small script that invokes another shell script as root thus:
#!/bin/bash
echo "mypass" | sudo -p '' -S /usr/StorMan/StorMan.sh
when running in 16.04 LTS this didn't display a password prompt which
I understand to be correct behaviour. Since upgrading to 18.04.1 LTS
the output looks like:
amonra at Charon:~$ ./storman
[sudo] password for amonra:
which as far as I can determine is not correct.
Thanks
Dave
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: sudo 1.8.21p2-3ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-38.41-generic 4.15.18
Uname: Linux 4.15.0-38-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.4
Architecture: amd64
CurrentDesktop: LXDE
Date: Thu Oct 25 03:07:27 2018
InstallationDate: Installed on 2016-03-28 (940 days ago)
InstallationMedia: Ubuntu-Server 14.04.4 LTS "Trusty Tahr" - Release amd64 (20160217.1)
SourcePackage: sudo
UpgradeStatus: Upgraded to bionic on 2018-10-22 (2 days ago)
VisudoCheck:
/etc/sudoers: parsed OK
/etc/sudoers.d/README: parsed OK
modified.conffile..etc.sudoers: [inaccessible: [Errno 13] Permission denied: '/etc/sudoers']
modified.conffile..etc.sudoers.d.README: [inaccessible: [Errno 13] Permission denied: '/etc/sudoers.d/README']
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1799857/+subscriptions
More information about the foundations-bugs
mailing list