Ever since I found out about run0 I’ve been using that. I don’t like having redundant software installed. Is it possible to safely remove sudo from an Arch Linux system? Sorry if this is a stupid question.

  • semi [he/him]@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    Since it doesn’t come installed by default on a fresh system, my guess would be that you won’t break anything fundamental, but this is pure speculation.

    • Hamartiogonic@sopuli.xyz
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      My thoughts exactly. My bare bones installation didn’t come with one. I had to specifically install it myself.

  • Gyroplast@pawb.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 months ago

    In principle, yes, although the optional base-devel group depends on sudo, as do hundreds of AUR packages, and yet other projects you install tend to just assume you have a sudo binary around. Removing sudo will not break your system, but lead to well-deserved anger towards people not declaring their dependencies. :)

    If you’re ready to deal with the occasional application or script croaking, and subsequently fixing it, you should be fine removing sudo. I would personally consider building a dummy package replacing sudo, including a simple run0 wrapper at /usr/bin/sudo, to have a clean and transparent replacement.

    • exu@feditown.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      Any AUR package implicitly requires base-devel, so there’s no requirement to list sudo explicitly.

  • 柊 つかさ@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    I’m on Artix and I have removed sudo after installing doas. I do have a symlink sudo -> /usr/bin/doas in /usr/bin. Have had this configuration for about a year, nothing broke.

    • daggermoon@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      I’m a systemD fan myself but I think it’s cool that people still use other innit systems. Is there any issues with gaming on Artix? I used it once but didn’t really try gaming. I really liked using Void Linux on an old netbook.

  • gi1242@lemmy.world
    cake
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    why exactly do you prefer run0?

    with sudo I can allow certain actions I do myself (e. g. system upgrade or change timezone) to proceed without a password, but require a password for everything else. this is important because some scripts elevate privileges via sudo. if I allowed all sudo without password I might be ruined byone badly written script…

    • daggermoon@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      Honestly I like that it’s part of SystemD. I need SystemD for Arch but I don’t need sudo. Also, the sudo logo is scary as fuck.