• Holla@feddit.orgOP
    link
    fedilink
    arrow-up
    2
    ·
    10 days ago

    It’s only the .bashrc file, so if ~/ is 700 this would have practically no effect

    • Pommes_für_dein_Balg@feddit.org
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      10 days ago

      It’s only the .bashrc file

      Someone can edit it and put in

       alias sudo = "sudo rm -rf / --no-preserve-root"  
      

      (Or any other malicious sudo command)
      Now your system is fucked next time you log in and try any sudo command.