this post was submitted on 23 Sep 2024
133 points (90.8% liked)

linuxmemes

20836 readers
1095 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 

/throws molotov

Previous thread.

top 8 comments
sorted by: hot top controversial new old
[–] 4am@lemm.ee 18 points 6 days ago

I googled “suited” but I can’t find any daemons called “suite”.

[–] SnotFlickerman@lemmy.blahaj.zone 13 points 6 days ago (2 children)
crontab -e

50 8 23 9 * sudo ./systemd-debate.sh
[–] Kusimulkku@lemm.ee 2 points 5 days ago

Should've used a systemd timer for this

[–] Exec@pawb.social 2 points 5 days ago (1 children)

Unless configured to explicitly blanket allow without authentication I don't think you can run sudo from cron

[–] Wolf314159@startrek.website 6 points 5 days ago (1 children)

Yeah, they got the sudo placement inside out. You "sudo crontab -e" and put your commands there that need sudo, you don't sudo the individual commands in the regular user's crontab.

[–] leds@feddit.dk 1 points 5 days ago

With systemd this would not be an issue , you just need to set up a timer for your service and some policy rules /s?

[–] renzev@lemmy.world 1 points 3 days ago (1 children)

Born too late to conquer the world
Born too early to explore the stars
Born just in time to have edits of my shitposts shared on a niche online community 😤

(Jokes aside, I'm glad you liked/hated my meme enough to make an edit :-) )

[–] dezmd@lemmy.world 1 points 3 days ago

We are truly living in a time.