Richard Laager wrote:
> Bob Proulx wrote:
> >      if ! getent passwd ntpsec > /dev/null; then
> >     addgroup --system --quiet ntpsec
> >      fi
> >      if ! getent group ntpsec > /dev/null; then
> >     adduser --system --quiet --ingroup ntpsec \
> >             --no-create-home --home /nonexistent ntpsec
> >      fi
>
> Those getent checks have passwd & group swapped,

Oop!  Drat!  I hate it when I do that!  And of course it works by
accident if one either has neither or both.  My bad!

> but otherwise, yes, that's what we want. I'll upload a fix
> shortly. Thanks!

Awesome! :-)
Bob

Reply via email to