Civilloquy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · 1 year ago

Newbies never listen...

sh.itjust.works

message-square
81
fedilink
713

Newbies never listen...

sh.itjust.works

0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · 1 year ago
message-square
81
fedilink
alert-triangle
You must log in or register to comment.
  • betterdeadthanreddit@lemmy.world
    link
    fedilink
    English
    arrow-up
    73
    ·
    1 year ago

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

    • NegativeNull@lemmy.world
      link
      fedilink
      arrow-up
      39
      ·
      1 year ago

      REAL pros use butterflies!

      https://xkcd.com/378/

      • kamen@lemmy.world
        link
        fedilink
        arrow-up
        15
        ·
        1 year ago

        Dammit, emacs.

  • lemmyng@lemmy.ca
    link
    fedilink
    English
    arrow-up
    44
    ·
    1 year ago

    Still not as bad as chmod -R 777.

    • masterofn001@lemmy.ca
      link
      fedilink
      arrow-up
      21
      ·
      1 year 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.

    • Dhs92@programming.dev
      link
      fedilink
      arrow-up
      20
      ·
      1 year ago

      Once had a friend run sudo chmod -R 777 / on a (public) Minecraft server we were running back in highschool. It made me die a bit on the inside.

      • Rikudou_Sage@lemmings.world
        link
        fedilink
        arrow-up
        16
        ·
        1 year ago

        Doesn’t it break a lot of things? Half the stuff refuses to work when some specific files have too permissive chmod.

        • Dhs92@programming.dev
          link
          fedilink
          arrow-up
          12
          ·
          1 year ago

          Really only SSH and sudo broke. sudo would still work but you’d have to re-enter your password every time. It was a painful experience and I’m glad I know better now.

      • AngryPancake@sh.itjust.works
        link
        fedilink
        arrow-up
        5
        ·
        1 year ago

        Goodbye ssh access

    • InverseParallax@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      Jesus, every time I have to run glx or vaapi under a container I end up having to do this then cringe.

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        You don’t need to

        • InverseParallax@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Nah, there’s something broken, I think it’s because group render under the container has a different GID than the container so the acl fails and you either sudo or chmod.

          Lxc is still a little wobbly in places.

          • Possibly linux@lemmy.zip
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            1 year ago

            I use podman and since it runs as my user it has exactly same same permissions as me. I just add my user to the proper group and it works.

            Anyway for LXC you could just passthough a folder and then create a file. From there you can look at the file on the host to see who owns it. That will give you the needed information to set permissions correctly

            • InverseParallax@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              1 year ago

              Ahh, I’m running priveleged containers, I wrote my own scripted framework for containers around lxc in mostly python.

              Basically I fell head over heels in love with freebsd jails and wanted them on Linux, then started running x11 apps in them, it’s my heroin.

              Haven’t used podman outside proper k8s for work, did proxmox for a bit, but it was just a webgui for the same thing.

              There were a bunch of online bug reports about the /dev/dri issue, maybe there’s a better solution now, but since this is my workstation I wasn’t as worried about security.

      • corsicanguppy@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        from the chmod or from the containers?

        • InverseParallax@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          From the chmod, I love running games and shit under containers.

  • therealjcdenton@lemmy.zip
    link
    fedilink
    English
    arrow-up
    34
    ·
    1 year ago

    sudo steam

  • BigDanishGuy@sh.itjust.works
    link
    fedilink
    arrow-up
    34
    ·
    1 year ago

    Come on! I’ve stopped logging on as root, can’t we just leave it at that?

    • 0x4E4F@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Stopped being fun after you destroyed the system a few times… am I right 😏.

  • veni_vedi_veni@lemmy.world
    link
    fedilink
    arrow-up
    31
    ·
    edit-2
    1 year ago

    I’m in jail because I was not in the sudoer file

    • nebulaone@lemmy.world
      link
      fedilink
      arrow-up
      10
      ·
      1 year ago

      This incident was, in fact, reported.

    • 0x4E4F@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 year ago

      Well, you were warned 🤷.

  • datelmd5sum@lemmy.world
    link
    fedilink
    arrow-up
    31
    ·
    1 year ago

    then at first day of work:

    just use sudo su, we don’t have all day here.

    • Laurel Raven@lemmy.zip
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      “You’re absolutely right, we wouldn’t want to take too long to break the network or open god rights vulnerabilities”

    • 0x4E4F@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      And you give them the look and they shut up.

  • bruhduh@lemmy.world
    link
    fedilink
    arrow-up
    30
    ·
    edit-2
    1 year ago

    Sometimes your package manager asks you for root password every minute while doing few hours long update and cancelling process if you don’t enter anything for few minutes, “yay” aur manager looking at you, and you got to do other things than sit and look in the monitor all day long, things like cleaning house or touching grass for example

    • ikidd@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 year ago

      sudo visudo

      At the end:

      Defaults:USER timestamp_timeout=30

      USER is obviously changed to your username.

      • bruhduh@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        Thank you

    • SavvyBeardedFish@reddthat.com
      link
      fedilink
      arrow-up
      7
      ·
      1 year ago

      If I remember correctly the default sudo timeout is set to 5 minutes on Yay, you should be able to increase it to something more reasonable

      • bruhduh@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Thank you

      • bruhduh@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        deleted by creator

    • 0x4E4F@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      See, this is why I love xbps. Does everything in one blow, no bullshit.

    • JustAnotherKay@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Man if only there was an option like --sudoloop to ensure that doesn’t happen

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    23
    ·
    edit-2
    1 year ago

    Reminds me of all of those vendors that require Windows Admin for no reason.

    • Landless2029@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      Looking at you quickbooks network shares…

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Its not like QuickBooks are sensitive data or anything

        • Landless2029@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 year ago

          More like I come in to fix someone’s aging infrastructure and find a QuickBooks share with read/write everyone because people are too lazy to RTFM.

          Ahem…

          • Possibly linux@lemmy.zip
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            That’s the supported configuration. There support will not support anything else. It is total BS which makes sense because they want to silo you to the cloud

        • Ziglin (it/they)@lemmy.world
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          edit-2
          1 year ago

          Then encrypt it…

          • Possibly linux@lemmy.zip
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            Tell that to Intuit

      • Ziglin (it/they)@lemmy.world
        link
        fedilink
        arrow-up
        0
        arrow-down
        1
        ·
        1 year ago

        deleted by creator

  • unalivejoy@lemm.ee
    link
    fedilink
    English
    arrow-up
    17
    ·
    1 year ago

    sudo -s for auditability

  • mlg@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    ·
    1 year ago

    Our crappy vendor software will only function if IPv6 is disabled network wide. Even if one machine has it enabled, the whole thing breaks

    Lol our former crappy vendor solution required to be run directly from AD Administrator. Pure luck the entire business didn’t collapse before we replaced it.

    A thread I read a long time ago on r/sysadmin

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      That’s at least once a week

  • corsicanguppy@lemmy.ca
    link
    fedilink
    English
    arrow-up
    12
    ·
    1 year ago

    Wasn’t it 2017 where they had the race condition in sudo su as the command elevates up to root and drops back down?

    Every other year, sudo su was not unsafe but merely ghetto. ‘sudo su’ is the dutch-rudder of ‘sudo’.

  • YTG123@sopuli.xyz
    link
    fedilink
    arrow-up
    8
    ·
    1 year ago

    Why does sudo su exist? sudo -i does exactly what you want.

    • mvirts@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      It’s much easier to type sudo su 😅

  • barsquid@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    1 year ago

    Reminds me of software saying to put your docker socket into the docker container you are starting for convenience.

    • 0x4E4F@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      1 year ago

      Oh yeah, I’m docking the shit ot of that container!

  • helenslunch@feddit.nl
    link
    fedilink
    arrow-up
    8
    ·
    edit-2
    11 months ago

    deleted by creator

  • SuperIce@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    1 year ago

    run0 is the new sudo su

    • lemmyng@lemmy.ca
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 year ago

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

      • 0x4E4F@sh.itjust.worksOP
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        1 year ago

        And the people that don’t use systemd.

        • Rikudou_Sage@lemmings.world
          link
          fedilink
          arrow-up
          14
          ·
          1 year ago

          All five of them.

          • 0x4E4F@sh.itjust.worksOP
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            1
            ·
            edit-2
            1 year ago

            There are a few of us, but our 2nd gen i3s will eat the shit out of your 5th gen i5s 😁.

linuxmemes@lemmy.world

linuxmemes@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linuxmemes@lemmy.world

Hint: :q!


Sister communities:
  • !tech_memes@lemmy.world
  • !memes@lemmy.world
  • !lemmyshitpost@lemmy.world
  • !risa@startrek.website

Community rules (click to expand)

1. Follow the site-wide rules
  • Instance-wide TOS: https://legal.lemmy.world/tos/
  • Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like “every user of thing”.
  • Don’t get baited into back-and-forth insults. We are not animals.
  • 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.
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, no politics, no trolling or ragebaiting.
4. No recent reposts
  • Everybody uses Arch btw, can’t quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures

We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.

  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.

 

Please report posts and comments that break these rules!


Important: never execute code or follow advice that you don’t understand or can’t verify, especially here. The word of the day is credibility. This is a meme community – even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don’t remove France.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 360 users / day
  • 1.54K users / week
  • 5.74K users / month
  • 15.3K users / 6 months
  • 1 local subscriber
  • 27.3K subscribers
  • 1.52K Posts
  • 59.8K Comments
  • Modlog
  • mods:
  • Kevin@lemmy.world
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • BE: 0.19.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org