this post was submitted on 30 Sep 2024
830 points (97.6% liked)

linuxmemes

21060 readers
75 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS
     
    (page 3) 13 comments
    sorted by: hot top controversial new old
    [–] [email protected] 90 points 3 weeks ago (2 children)

    Real pros shuffle across the carpet to build a static charge and do their system administration by electrical fault injection.

    load more comments (2 replies)
    [–] [email protected] 56 points 3 weeks ago (12 children)

    Still not as bad as chmod -R 777.

    [–] [email protected] 24 points 3 weeks ago

    As a one time noob I may have done this once or more.

    To get one thing working I borked everything.

    Understanding permissions is pretty basic. But understanding permission requirements for system and user apps and their config and dirs can be a bit overwhelming at first.

    Thinking a little change to make your life simpler will break something else doesn't always register immediately.

    Shit, even recently, wondering why my SSH keys were being refused and realising that somehow i set my private keys world readable.

    Thank god SSH checks file and dir permission.

    load more comments (11 replies)
    [–] [email protected] 8 points 3 weeks ago (2 children)
    [–] [email protected] 7 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

    Yeah. After that everything can be done with !sh.

    (Edit: This is a joke. There's a lot of reasons not to do this.)

    [–] [email protected] 12 points 3 weeks ago

    sudoedit is what you're looking for. Don't elevate the text editor.

    load more comments (1 replies)
    [–] [email protected] 7 points 3 weeks ago (2 children)
    [–] [email protected] 3 points 3 weeks ago (1 children)
    [–] [email protected] 2 points 3 weeks ago (1 children)
    load more comments (1 replies)
    load more comments (1 replies)
    [–] [email protected] 11 points 3 weeks ago (1 children)
    [–] [email protected] 10 points 3 weeks ago (1 children)

    You're going to start a fight with the doas people.

    [–] [email protected] 6 points 3 weeks ago* (last edited 3 weeks ago) (5 children)

    And the people that don't use systemd.

    load more comments (5 replies)
    [–] [email protected] 17 points 3 weeks ago

    sudo -s for auditability

    load more comments
    view more: ‹ prev next ›