ryan on Nostr: Reading a tutorial on how to set timers in systemd. The first example, under the ...
Reading a tutorial on how to set timers in systemd. The first example, under the heading "Creating a Simple Timer", starts with:
> sudo $EDITOR /usr/local/bin/my-timer.sh
Ummm, no. If I have to elevate to root, it's not a "simple" task. It's an administrative one. Where's my drop-in replacement for `crontab -e` ???
People casually throwing around sudo in tutorials is one reason computer security is in such a shitty state.
> sudo $EDITOR /usr/local/bin/my-timer.sh
Ummm, no. If I have to elevate to root, it's not a "simple" task. It's an administrative one. Where's my drop-in replacement for `crontab -e` ???
People casually throwing around sudo in tutorials is one reason computer security is in such a shitty state.