Previously, the ability of using the date command without password was checked aganst the echo command.
Witch would fail in restrictive context where only sudo date command is allowed password less and not sudo echo
Sudoers entry for reference :
signalk ALL=(ALL) NOPASSWD: /bin/date
Note: The command have been tested the a terminal only.
This fix https://github.com/SignalK/set-system-time/issues/4
Previously, the ability of using the
date
command without password was checked aganst theecho
command. Witch would fail in restrictive context where onlysudo date
command is allowed password less and notsudo echo
Sudoers entry for reference :
Note: The command have been tested the a terminal only.