Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • PopulΓ¦re
  • Verden
  • Bruger
  • Grupper
Temaer
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Ikke-kategoriseret
  3. Visit Homebrew, Rustup, Oh My Zsh, nvm and few other popular open source projects website and you realise that quietly `curl -fsSL` has become the most popular package manager for Linux and Unix users πŸ˜‚ How did we get here ?

Visit Homebrew, Rustup, Oh My Zsh, nvm and few other popular open source projects website and you realise that quietly `curl -fsSL` has become the most popular package manager for Linux and Unix users πŸ˜‚ How did we get here ?

Planlagt Fastgjort LΓ₯st Flyttet Ikke-kategoriseret
28 Indlæg 22 Posters 3 Visninger
  • Γ†ldste til nyeste
  • Nyeste til Γ¦ldste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne trΓ₯d er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • cogitocomrade@mastodon.socialC cogitocomrade@mastodon.social

    @nixCraft curl is nice. Im already running some arbitrary code I haven’t read when using any of these packages, so running a script by them doesn’t seem that much less safe

    uecker@mastodon.socialU This user is from outside of this forum
    uecker@mastodon.socialU This user is from outside of this forum
    uecker@mastodon.social
    wrote on sidst redigeret af
    #12

    @cogitocomrade @nixCraft It is far less safe. If the first step is secure, then it may be ok to put some trust in the code you run later. But with curl | this is unfounded.

    1 Reply Last reply
    0
    • nixcraft@mastodon.socialN nixcraft@mastodon.social

      Visit Homebrew, Rustup, Oh My Zsh, nvm and few other popular open source projects website and you realise that quietly `curl -fsSL` has become the most popular package manager for Linux and Unix users πŸ˜‚ How did we get here ? πŸ˜” Just pipe the random commands into your shell with sudo added to the mix. What could possibly go wrong? πŸ˜‘

      nullpotential@fedia.socialN This user is from outside of this forum
      nullpotential@fedia.socialN This user is from outside of this forum
      nullpotential@fedia.social
      wrote on sidst redigeret af
      #13

      @nixCraft yeah! we should be using aria2c. it's 2026 people come on.

      1 Reply Last reply
      0
      • nixcraft@mastodon.socialN nixcraft@mastodon.social

        Visit Homebrew, Rustup, Oh My Zsh, nvm and few other popular open source projects website and you realise that quietly `curl -fsSL` has become the most popular package manager for Linux and Unix users πŸ˜‚ How did we get here ? πŸ˜” Just pipe the random commands into your shell with sudo added to the mix. What could possibly go wrong? πŸ˜‘

        chipbarm@mastodon.socialC This user is from outside of this forum
        chipbarm@mastodon.socialC This user is from outside of this forum
        chipbarm@mastodon.social
        wrote on sidst redigeret af
        #14

        @nixCraft it brings some excitement into my otherwise dull life

        1 Reply Last reply
        0
        • nixcraft@mastodon.socialN nixcraft@mastodon.social

          Visit Homebrew, Rustup, Oh My Zsh, nvm and few other popular open source projects website and you realise that quietly `curl -fsSL` has become the most popular package manager for Linux and Unix users πŸ˜‚ How did we get here ? πŸ˜” Just pipe the random commands into your shell with sudo added to the mix. What could possibly go wrong? πŸ˜‘

          gabe@mendeddrum.orgG This user is from outside of this forum
          gabe@mendeddrum.orgG This user is from outside of this forum
          gabe@mendeddrum.org
          wrote on sidst redigeret af
          #15

          @nixCraft tired: curl | sudo bash

          wired: yes | sudo bash <(curl)

          1 Reply Last reply
          0
          • nixcraft@mastodon.socialN nixcraft@mastodon.social

            Visit Homebrew, Rustup, Oh My Zsh, nvm and few other popular open source projects website and you realise that quietly `curl -fsSL` has become the most popular package manager for Linux and Unix users πŸ˜‚ How did we get here ? πŸ˜” Just pipe the random commands into your shell with sudo added to the mix. What could possibly go wrong? πŸ˜‘

            sj_zero@social.fbxl.netS This user is from outside of this forum
            sj_zero@social.fbxl.netS This user is from outside of this forum
            sj_zero@social.fbxl.net
            wrote on sidst redigeret af
            #16
            I can't say nothing, deb.fbxl.net has repos for many many operating systems, but there's exactly one command listed with a universal installer for setting up repos on many of them.

            In my case it's because freebasic is a basic compiler, and the goal was to make it easy to install damn near everywhere. The problem is, there's a lot of everywhere. Just on Linux you have debian-based, RPM based, arch-based, slackware based, and within those categories you have a number of different distributions and distribution versions. And then you have Solaris and open solaris, the various bsds, haiku, windows via cygwin or mingw, not to mention MacOS, and that's just the OSes that apply to package managers and she'll scripts. Just making the machinery to produce packages for all those is tough enough, but then you're trying to figure out how to make it easy for OSes to actually just install and be capable of staying up to date afterwards.

            More ideal would be getting the packages added to every distro, but that really isn't in the cards, so you're stuck playing the hand you've got.
            1 Reply Last reply
            0
            • jbaert@mastodon.socialJ jbaert@mastodon.social

              @nixCraft i hate it when that's the only option. I often try to read the script itself and it's an obtuse mess.

              haerench@mastodon.socialH This user is from outside of this forum
              haerench@mastodon.socialH This user is from outside of this forum
              haerench@mastodon.social
              wrote on sidst redigeret af
              #17

              @jbaert @nixCraft It has become indeed quite common that I often don't want to read / check the script once again. Instead I run the curl in a pod and then copy the artifact to my system.

              Where did we go wrong? Probably too many different package managers out there and/or too little time to maintain them. Even if they make an rpm /deb pkg, what guarantee you have nothing fishy happens in the postinstall?

              1 Reply Last reply
              0
              • moelassus@mastodon.socialM moelassus@mastodon.social

                @nixCraft I weep every time I see one of these types of installations. Novice users are often ill equipped to understand the risks entailed and seeing extremely popular projects using this just method tells the novice, "this is totally normal to be asked to paste a mysterious command into my terminal”.

                mikalai@privacysafe.socialM This user is from outside of this forum
                mikalai@privacysafe.socialM This user is from outside of this forum
                mikalai@privacysafe.social
                wrote on sidst redigeret af
                #18

                @moelassus @nixCraft
                Novice users are too novice to weep 🫣

                1 Reply Last reply
                0
                • thatdnaguy@genomic.socialT thatdnaguy@genomic.social

                  @nixCraft the first time I saw some of those instructions, I thought it was the hack way of doing it without a package manager. Then I realized it was THE way and was completely shocked.

                  mikalai@privacysafe.socialM This user is from outside of this forum
                  mikalai@privacysafe.socialM This user is from outside of this forum
                  mikalai@privacysafe.social
                  wrote on sidst redigeret af
                  #19

                  @thatdnaguy @nixCraft
                  But isn't it convenient in one's CI pipeline? Inside of some container.
                  .... looking for dictionary definition of supply chain attack...

                  1 Reply Last reply
                  0
                  • levrden@mastodon.socialL levrden@mastodon.social

                    @nixCraft wouldn't it be even better to explain clearly instead of making fun of people?

                    mikalai@privacysafe.socialM This user is from outside of this forum
                    mikalai@privacysafe.socialM This user is from outside of this forum
                    mikalai@privacysafe.social
                    wrote on sidst redigeret af
                    #20

                    @levrden @nixCraft
                    Jo. These folks have been talking soooo many times about it. This is their professional, slightly nervous fun.
                    On practical note, they really don't know how else to pass this ... trivial info, for practical end.
                    As a member of normal group, may be you can volunteer persvasive words.
                    Persvaisive for your locale at least.

                    1 Reply Last reply
                    0
                    • C chris1776@mastodon.bsd.cafe

                      @nixCraft cargo install is just as bad

                      mikalai@privacysafe.socialM This user is from outside of this forum
                      mikalai@privacysafe.socialM This user is from outside of this forum
                      mikalai@privacysafe.social
                      wrote on sidst redigeret af
                      #21

                      @Chris1776 @nixCraft
                      Does it check signatures ... at least

                      1 Reply Last reply
                      0
                      • nixcraft@mastodon.socialN nixcraft@mastodon.social

                        Visit Homebrew, Rustup, Oh My Zsh, nvm and few other popular open source projects website and you realise that quietly `curl -fsSL` has become the most popular package manager for Linux and Unix users πŸ˜‚ How did we get here ? πŸ˜” Just pipe the random commands into your shell with sudo added to the mix. What could possibly go wrong? πŸ˜‘

                        taffer@mastodon.gamedev.placeT This user is from outside of this forum
                        taffer@mastodon.gamedev.placeT This user is from outside of this forum
                        taffer@mastodon.gamedev.place
                        wrote on sidst redigeret af
                        #22

                        @nixCraft It’s as safe as using npm… 🀦

                        1 Reply Last reply
                        0
                        • nixcraft@mastodon.socialN nixcraft@mastodon.social

                          Visit Homebrew, Rustup, Oh My Zsh, nvm and few other popular open source projects website and you realise that quietly `curl -fsSL` has become the most popular package manager for Linux and Unix users πŸ˜‚ How did we get here ? πŸ˜” Just pipe the random commands into your shell with sudo added to the mix. What could possibly go wrong? πŸ˜‘

                          slaine@mastodon.ieS This user is from outside of this forum
                          slaine@mastodon.ieS This user is from outside of this forum
                          slaine@mastodon.ie
                          wrote on sidst redigeret af
                          #23

                          @nixCraft

                          1 Reply Last reply
                          0
                          • nixcraft@mastodon.socialN nixcraft@mastodon.social

                            Visit Homebrew, Rustup, Oh My Zsh, nvm and few other popular open source projects website and you realise that quietly `curl -fsSL` has become the most popular package manager for Linux and Unix users πŸ˜‚ How did we get here ? πŸ˜” Just pipe the random commands into your shell with sudo added to the mix. What could possibly go wrong? πŸ˜‘

                            M This user is from outside of this forum
                            M This user is from outside of this forum
                            marcialm32@mastodon.social
                            wrote sidst redigeret af
                            #24

                            Their trying to say, or just saying what's up to NixCraft. Can't really just say anything on a page, others sees them comments. But I guess there's issue unmentioned, not just what's up all the time.

                            1 Reply Last reply
                            0
                            • levrden@mastodon.socialL levrden@mastodon.social

                              @nixCraft wouldn't it be even better to explain clearly instead of making fun of people?

                              pelle@veganism.socialP This user is from outside of this forum
                              pelle@veganism.socialP This user is from outside of this forum
                              pelle@veganism.social
                              wrote sidst redigeret af
                              #25

                              @levrden
                              you go to the furniture shop to buy a sofa. the sales assistant tells you that the recommended way to install the sofa in your home is if you make a copy of your door key and give that to her. πŸ›‹οΈπŸ”‘

                              everyone does this, and soon you've given out a dozen copies of your front door key to everyone including the pizza delivery driver. one morning you wake up your socks and your credit card are missing. πŸ§¦πŸ’³

                              yes, no one should make fun the victim of such theft. but isn't it okay to mock the businesses who put their customers at risk by asking all of them for their door keys? 🀑
                              @nixCraft

                              levrden@mastodon.socialL 2 Replies Last reply
                              0
                              • pelle@veganism.socialP pelle@veganism.social

                                @levrden
                                you go to the furniture shop to buy a sofa. the sales assistant tells you that the recommended way to install the sofa in your home is if you make a copy of your door key and give that to her. πŸ›‹οΈπŸ”‘

                                everyone does this, and soon you've given out a dozen copies of your front door key to everyone including the pizza delivery driver. one morning you wake up your socks and your credit card are missing. πŸ§¦πŸ’³

                                yes, no one should make fun the victim of such theft. but isn't it okay to mock the businesses who put their customers at risk by asking all of them for their door keys? 🀑
                                @nixCraft

                                levrden@mastodon.socialL This user is from outside of this forum
                                levrden@mastodon.socialL This user is from outside of this forum
                                levrden@mastodon.social
                                wrote sidst redigeret af
                                #26

                                @pelle @nixCraft I got this, but the linux commands are so unclear when you're a beginner and want to try linux, it's not really clear how it is unsafe, as non tech people doesn't identify theses practices easily

                                pelle@veganism.socialP 1 Reply Last reply
                                0
                                • pelle@veganism.socialP pelle@veganism.social

                                  @levrden
                                  you go to the furniture shop to buy a sofa. the sales assistant tells you that the recommended way to install the sofa in your home is if you make a copy of your door key and give that to her. πŸ›‹οΈπŸ”‘

                                  everyone does this, and soon you've given out a dozen copies of your front door key to everyone including the pizza delivery driver. one morning you wake up your socks and your credit card are missing. πŸ§¦πŸ’³

                                  yes, no one should make fun the victim of such theft. but isn't it okay to mock the businesses who put their customers at risk by asking all of them for their door keys? 🀑
                                  @nixCraft

                                  levrden@mastodon.socialL This user is from outside of this forum
                                  levrden@mastodon.socialL This user is from outside of this forum
                                  levrden@mastodon.social
                                  wrote sidst redigeret af
                                  #27

                                  @pelle @nixCraft sorry my English reading brain wasn't fully started when I rode your comment
                                  Yes of course it is okay even recommended to make fun of the businesses 🩷

                                  1 Reply Last reply
                                  0
                                  • levrden@mastodon.socialL levrden@mastodon.social

                                    @pelle @nixCraft I got this, but the linux commands are so unclear when you're a beginner and want to try linux, it's not really clear how it is unsafe, as non tech people doesn't identify theses practices easily

                                    pelle@veganism.socialP This user is from outside of this forum
                                    pelle@veganism.socialP This user is from outside of this forum
                                    pelle@veganism.social
                                    wrote sidst redigeret af
                                    #28

                                    @levrden
                                    i see your point. it would've made more sense to make fun of the β€’developersβ€’ than the β€’usersβ€’ because it's the developers who
                                    put curl|sh on their websites.
                                    @nixCraft

                                    1 Reply Last reply
                                    0
                                    Svar
                                    • Svar som emne
                                    Login for at svare
                                    • Γ†ldste til nyeste
                                    • Nyeste til Γ¦ldste
                                    • Most Votes


                                    • Log ind

                                    • Login or register to search.
                                    Powered by NodeBB Contributors
                                    Graciously hosted by data.coop
                                    • First post
                                      Last post
                                    0
                                    • Hjem
                                    • Seneste
                                    • Etiketter
                                    • PopulΓ¦re
                                    • Verden
                                    • Bruger
                                    • Grupper