gnuhaut,

On a typical home user desktop linux setup, there’s virtually no difference between your regular user and root.

Access to your data, emails, passwords, installing software (in /home), access to LAN and so on are already possible without root permissions, so there really is not a whole lot that an attacker cannot do even without root.

And then, if you use sudo or su (or whatever) to switch to root with a password, escalating to root privileges is basically trivial for an attacker. An attacker can divert your PATH to compromised binaries. They could just replace “sudo” with their own little script that steals your password.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • 200 @ entry_comment_voters
    HTTP status 200 OK
    Route name entry_comment_voters
    Has session yes
    Stateless Check no
    Time 502 ms
    Total time 502 ms
    Initialization time 133 ms
    Memory 14.0 MiB
    Peak memory usage 14.0 MiB
    PHP memory limit 128 MiB
    Logger 86
    Errors 0
    Warnings 0
    Deprecations 86
    Cache 24 in 14.53 ms
    Cache Calls 24
    Total time 14.53 ms
    Cache hits 32 / 37 (86.49%)
    Cache writes 1
    2
    Default locale en
    Missing messages 2
    Fallback messages 0
    Defined messages 118
    Security n/a
    Authenticated No
    Firewall name main
    Twig 185 ms
    Render Time 185 ms
    Template Calls 65
    Block Calls 16
    Macro Calls 6
    41 in 111 ms
    settings_row_switch 15
    user_settings_row_switch 4
    date 3
    user_inline 2
    settings_row_enum 2
    entry_comment 1
    date_edited 1
    user_avatar 1
    vote 1
    boost 1
    user_actions 1
    magazine_box 1
    magazine_sub 1
    related_magazines 1
    active_users 1
    related_categories 1
    related_posts 1
    related_entries 1
    support_us_block 1
    featured_magazines 1
    8 in 15.58 ms
    Database Queries 8
    Different statements 8
    Query time 15.58 ms
    Invalid entities 0
    Cache hits 24
    Cache misses 1
    Cache puts 1
    6.4.0
    Profiler token 001490
    Environment dev
    Debug enabled
    PHP version 8.2.26   View phpinfo()
    PHP Extensions Xdebug ✗ APCu ✓ OPcache ✓
    PHP SAPI apache2handler