Hi Jon,
Jon Higgs wrote on Thu, Mar 27, 2025 at 10:55:13AM +1100:
> I'm struggling to find a clean way to suppress warnings from security(8)
> about users without a password.
>
> I've intentionally removed the password from the user 'git' so that it
> can gotd can serve anonymous users with git repos over ssh.
>
> The messages appear as:
>
> Checking the /etc/master.passwd file:
> Login git has no password.
>
>
> I don't want to disable the security warnings entirely, but this one
> isn't actionable and would prefer not to be told about it every single
> day.
>
> I can think of various hacks to make the problem go away; things like
> modifying /usr/libexec/security, or email filters, but nothing I would
> consider good.
>
> Is there any way to control this? Or am I holding something wrong, and
> these warnings are an artifact of that.
This message is intended to notify you that after discussing the
situation with Stefan Sperling <stsp@>, the author of the Game of Trees,
i just committed a solution to OpenBSD-current.
The solution involves changes to etc/daily, libexec/security/security,
and share/man/man8/security.8.
It will also be contained in the upcoming OpenBSD-7.7 release.
Yours,
Ingo
No comments:
Post a Comment