[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get aborts in subshell with redirections on Debian 12



On 26/09/2023 12:06, Greg Wooledge wrote:
On Tue, Sep 26, 2023 at 11:52:09AM +0900, John Crawley wrote:
On 25/09/2023 20:21, Greg Wooledge wrote:
Given the presence of an /etc/sudoers.dpkg-dist file on my system,
which does in fact contain this:

# This fixes CVE-2005-4890 and possibly breaks some versions of kdesu
# (#1011624, https://bugs.kde.org/show_bug.cgi?id=452532)
Defaults        use_pty

it looks like you've solved *most* of the mystery.

But @Greg, if you have "Defaults        use_pty" why haven't you been getting the same instant aborts that I was?

Because it's NOT in /etc/sudoers.  It's in /etc/sudoers.dpkg-dist which
is what WOULD have been installed if I had chosen to overwrite my
existing conffile with the new one.  But I didn't.


Ah OK, I saw  /etc/sudoers.d and carelessly thought of the directory.

--
John


Reply to: