this post was submitted on 31 Oct 2025
1 points (53.8% liked)

Programming

26476 readers
278 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

Ideally speaking, if I build up my own system right from the scratch, then l ought to be in control of the root, isn't that correct ??๐Ÿค“๐Ÿค“๐Ÿค“

top 9 comments
sorted by: hot top controversial new old
[โ€“] NaibofTabr@infosec.pub 8 points 5 months ago (1 children)

er, what exactly do you mean by "from the scratch"? and what exactly constitutes "my own system"? are you planning on designing your own logic circuits, manufacturing your own chips, and then writing your own firmware to run them?

[โ€“] TheracAriane@thebrainbin.org 2 points 5 months ago (1 children)

@NaibofTabr@infosec.pub by scratch l meant installing linux os onto an old machine after cleaning up its entire past memories and then design it into a system of mine own.

[โ€“] NaibofTabr@infosec.pub 2 points 5 months ago* (last edited 5 months ago)

OK, so you want to install Linux on an old laptop after wiping the hard drive.

Sure, you would have root control for that OS. Make sure that there is no BIOS/UEFI password set before you start, or that you have the password.

Do not use the root account for regular use, especially if you will be connecting this laptop to the Internet. Log in as a normal user account and escalate your privilege as needed.

I also highly recommend gparted for editing the hard drive partitions before you install the OS. Don't install goarted, just run it live from a USB drive.

Do you know which Linux distribution you want to install?

[โ€“] MyNameIsRichard@lemmy.ml 7 points 5 months ago

If you mean Linux, you are. You have the root or sudo password, don't you? If you mean your the root directory should be under your user name, then that is a very bad idea. I suggest you try it on a system you don't care about to find out why!

[โ€“] aev_software@programming.dev 3 points 5 months ago

Yes, but that's a really bad situation from a security perspective. ideally you want two separate accounts: the admin who can do everything, and the daily driver whose activities cannot harm the system.

[โ€“] vk6flab@lemmy.radio 3 points 5 months ago

In the vast majority of operating systems the person who installs the system is by default the highest privileged user, in the case of some of those systems, that user is called root.

However, the word root is also used to describe the basis of several file systems.

[โ€“] Valmond@lemmy.world 1 points 5 months ago (1 children)

Isn't secure boot something that can get in the way?

[โ€“] vk6flab@lemmy.radio 3 points 5 months ago (1 children)

No.

Secure boot is about trusting which (signed) software is running.