this post was submitted on 20 Oct 2024
39 points (100.0% liked)

Linux

48356 readers
674 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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's thread
view the rest of the comments
[–] Cyberkillen@infosec.pub 13 points 1 month ago* (last edited 1 month ago) (1 children)

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.ee 2 points 1 month ago (1 children)

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 2 points 1 month 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!