40
submitted 1 month ago by BobGnarley@lemm.ee to c/linux@lemmy.ml

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
[-] BobGnarley@lemm.ee 2 points 1 month 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 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!

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

Linux

48334 readers
624 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