192

Image transcription: screenshot of neovim adding alias ls='sudo rm -rf / --no-preserve-root' to the end of ~/.zshrc

you are viewing a single comment's thread
view the rest of the comments
[-] voidMainVoid@lemmy.world 2 points 9 months ago

I've always had a password. One of the biggest benefits of Linux is security. Why would you undermine that by not using a password?

[-] bdonvr@thelemmy.club 4 points 9 months ago

I do have a password. Sudo is just setup not to ask for it.

On servers of course I use a password for sudo - but on a home machine there's not much of a point I don't think. It's off when I'm not actively using it, and if some attacker or malware has access to my user they already have access to all my important files, or have physical access.

this post was submitted on 19 Dec 2023
192 points (91.7% liked)

linuxmemes

20707 readers
589 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS