Re: armv7 vs buster sudo complains about hostname or something
On Fri, Jul 05, 2019 at 08:27:50AM -0400, Greg Wooledge wrote:
> sudo does a hostname lookup because, for some reason incomprehensible to
> mortal women and men, it has a "host" field on every configuration line.
And that reason is called LDAP-provided sudo configuration.
One /etc/sudoers to rule them all and all that.
Rarely used, and certainly an overkill for a single host, but is
> So anyway, because of this "feature" that absolutely nobody uses, sudo
> tries to look up your hostname, with multiple paths to failure if your
> hostname is not properly defined.
But then again, if a local hostname is resolved via DNS - a local resolver
is misconfigured. If such resolution is impossible - sudo is only one of
many things that will misbehave.