• frezik@midwest.social
    link
    fedilink
    arrow-up
    5
    ·
    5 months ago

    When you log in to an ssh terminal for a shell, it has to launch the shell process as the desired user. Needs to be root to do that.

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 months ago

      Can’t it use built in OS mechanisms for that? Surely you could figure out a way to only give it permissions it needs. Maybe break it up into two separate processes.

      • Sethayy@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        5 months ago

        That just sounds like root with extra steps (trying to implement OS security policies in a remote terminal utility)