I had to add a DNS alias into /etc/hosts
, and I've added it in first position instead of last, replacing the FQDN.
After this (not right after, but at least the next day), sudo was no more usable, saying for any command:
Sorry user is not allowed to [command] as root on [new_dns_alias]
What could be the reason of this since the sudoers file doesn't include any hostname ?
0 Answers