What generates this message: "*** SECURITY information for hostname ***"?
--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Lost Civilization
--
Chapters
00:00 What Generates This Message: &Quot;*** Security Information For Hostname ***&Quot;?
00:40 Accepted Answer Score 10
01:00 Answer 2 Score 0
01:26 Answer 3 Score 0
01:37 Thank you
--
Full question
https://superuser.com/questions/284820/w...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#ubuntu #security
#avk47
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Lost Civilization
--
Chapters
00:00 What Generates This Message: &Quot;*** Security Information For Hostname ***&Quot;?
00:40 Accepted Answer Score 10
01:00 Answer 2 Score 0
01:26 Answer 3 Score 0
01:37 Thank you
--
Full question
https://superuser.com/questions/284820/w...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#ubuntu #security
#avk47
ACCEPTED ANSWER
Score 10
It is related to this issue. The user reports here that it is related to a change of hostname.
Check your /etc/hosts
file and make sure you have an entry pointing to your hostname.
ANSWER 2
Score 0
It would seem that the Sudo program or whatever it is sent this message as an alert that there was an invalid password attempt while trying to use sudo.
When I run sudo visudo
, there is a setting Defaults mail_badpass
that I assume is the source of this.
Further evidence that this is from the sudo program / whatever it is called: https://groups.google.com/g/rcdevs-technical/c/oUzjW0MZs_8?pli=1
ANSWER 3
Score 0
echo 'Defaults !mail_badpass' | sudo tee /etc/sudoers.d/disable_mail_badpass
https://askubuntu.com/questions/986696/stop-emailing-me-bad-sudo-password-attempts