Sir Ryan Bemrose 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.
Published at
2024-06-24 17:33:18Event JSON
{
"id": "92639959d6f1950cdb2777d149a8582342029ac970974d9435c6f1b00e83cfdd",
"pubkey": "3971253ca143281312233642cf85f7c490c02cfc65e0121a7353b2fbdcfaf4b7",
"created_at": 1719250398,
"kind": 1,
"tags": [
[
"proxy",
"https://bemrose.social/objects/77cc3a64-21b3-43c9-adce-53a09d1acf6d",
"activitypub"
]
],
"content": "Reading a tutorial on how to set timers in systemd. The first example, under the heading \"Creating a Simple Timer\", starts with:\n\n\u003e sudo $EDITOR /usr/local/bin/my-timer.sh\n\nUmmm, 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` ???\n\nPeople casually throwing around sudo in tutorials is one reason computer security is in such a shitty state.",
"sig": "64936f08dacfc49e32875551aa0da4a2978e80d9f37f425b5dd8698c0851c2a5fdd6c51ecd15275d3507a6356189154e407ba36f4d79f930df48cc269ad59d0d"
}