Re: sudo -h localhost

"Todd C. Miller via sudo-users" <[email protected]> Thu, 03 Jul 2025 15:05:35 -0600
Newsgroups gmane.comp.tools.sudo.user
Message-ID <[email protected]>
On Thu, 03 Jul 2025 22:59:11 +0200, Marc Haber wrote:

> My idea would be to not do any lookup if the hostname given to -h is 
> localhost. Or is the idea to have the rules for host 
> cadencia.zugschlus.de be honored if I do sudo -h localhost on cadencia? 
> In that case it is obviously necessary to do the lookup.

Sorry, the user should not be able to specify the hostname to be
used for sudoers evaluation.  That was a bug.  Is there a reason
the "fqdn" option cannot be disabled on these systems that
have no networking?

 - todd
____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users