r/bash • u/novsat14 • Jul 17 '26
OS-MX LINUX: Help me scripting MX SNAPSHOT cronjob
I am using MX Linux OS. I am a true enthusiast using linux. For my own professional use I regularly use some systems which requires to be keept secured. I ask for help to have a bash script to automate taking regular MX SNAPSHOT regularly to create a live bootable USB stick as cronjob. The process should run unattended without sudo password. Possible?
7
Upvotes
2
u/abitofg Jul 17 '26
No password cronies job, run it either as root or have the backup command as NOPASSWD in sudoers.d
5
u/michaelpaoli Jul 17 '26
Possible, yes, very doable.
Uhm, but probably don't expect other folks to be doing the work for you.
Some assistance, sure ... but how 'bout you start doing some of the work, eh?