On Debian’s website it is saying to write the image to the USB stick I should use a bash script "# cp Debian.iso /dev/sdX

sync"

Is there another way to do this without using root access?

  • Cyberkillen@infosec.pub
    link
    fedilink
    English
    arrow-up
    13
    ·
    edit-2
    10 days ago

    Using dd or another third party flashing tool usually requires root to flash to usb.

    Hope you find an answer, it would also be great to see the context of why you need to do it without root.

    • BobGnarley@lemm.eeOP
      link
      fedilink
      arrow-up
      2
      ·
      8 days ago

      Truthfully just am not an experienced enough user to understand all the potential risks of having it enabled although I’m figuring out now that pretty much every distro I’ve used until now had root by using sudo.

      • Cyberkillen@infosec.pub
        link
        fedilink
        English
        arrow-up
        2
        ·
        8 days ago

        That makes sense, it’s good to be weary. Root access is needed for higher privilege tasks and flashing an image to a USB is one of them, best practice is to use sudo so that you are only using root for the actions you need it for, whilst still being logged in as a normal user.

        You would get a UAC check in Windows trying to flash an image to a USB, which is elevating your privilege temporarily to administrator.

        If you are just starting out with Linux then have fun, the most rewarding part is figuring stuff out like this so you know for next time!