Jon Higgs <j...@altos.au> writes:

> Hi,
>
> 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.
>

does using an empty password work ?

$ encrypt ''
$2b$09$s50wc1NMzJnZQGCW171wyePdahWA3TOq632BI44d0skN.Mt.yYRLm


Regards.
-- 
Sebastien Marie

Reply via email to