• Huschke@lemmy.world
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    1 year ago

    Alternatively you could use my favorite approach, Visual Studio Code. Just open the file with it, edit it and upon saving you will be promoted if the file needs admin rights to save.

    • MalReynolds@slrpnk.net
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Yup, s/vsc/kwrite/ personally, it’s lighter, but why shouldn’t I have a pretty for my config editing needs…

    • Doctor xNo@r.nf
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      1 year ago

      So for any supposedly malicious activity (infected) it wants to do, it just has to hold until you save and give admin access? 😅

      • Huschke@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Yes, but if you want to argue along those lines, you could also have an infected version of vim on your system just waiting to do malicious stuff until you give it sudo access.