• B-TR3E@feddit.org
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        1 hour ago

        OMG. There’s literally more ignorance and bullshit than words in that sentence. It is so wrong that not even the opposite is true. I hope that was sarcasm - in which case I draw my hat because it would be a true peace of art.
        Before voting me down, be sure to

        man environ
        
        • and be sure you’ve understood at least what the environment variables do. If that is too hard for you, at least find out what the difference between a binary and a UID might be.
    • rem26_art@fedia.io
      link
      fedilink
      arrow-up
      2
      ·
      4 hours ago

      sudo -i starts a login shell as the specified user. Login shell means it’ll read that user’s bashrc/zshrc/whatever other login files and apply those. If no user is specified, then it’ll login as root, so you get a root shell