Re: Strange behaviour when starting ntp

From: Dave Cottlehuber <dch_at_skunkwerks.at>
Date: Wed, 21 Sep 2022 05:29:18 UTC
On Wed, 21 Sep 2022, at 03:55, Olivier wrote:
> Hi,
> Many machines that have a directory /root/.acme.sh behave that same way.

It doesn't do this here:

# mkdir -p /root/.acme.sh
# touch /root/.acme.sh/acme.sh.csh
# chmod 000 /root/.acme.sh/acme.sh.csh
# cd /etc
# exit
$ sudo sh -x /etc/rc.d/ntpd restart

- check your env vars when in sudo, esp $TERM and $HOME
- run with -x as above, and see what file(s) are being included

It's a very odd path to look into, indeed.

A+
Dave