When putting Debian.iso onto a flash drive do you have to use root?
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?
You are viewing a single comment
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.
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.
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!