On 10-01-2025 11:15, Dan Purgert via Dng wrote:
> requiring your password for 'sudo' is standard practice. Are you
> implying you want to perform root tasks as 'waltdns' WITHOUT password
> confirmation?
It is possible with adding the following line to /etc/sudoers:
username ALL = NOPASSWD :ALL
But I would use that for single programs only and not for ALL (see
manpage) because it makes sudo useless.
>> I want to run with 2 machines, with one being a "near-hot-backup"
>> updated occasionally so that if the main machine fails catastrophically,
>> I lose a few days of stuff at worst.
> rsync and a cronjob? Though I wouldn't "backup" from A/etc to B/etc (or
> the other directories), rather something like "A/etc" to
> "B/backups/A/etc".
You can also install etckeeper, create a remote repo and use a cronjob
with git pull on the remote pc.