this post was submitted on 10 Jan 2024
66 points (94.6% liked)

Linux

48017 readers
1377 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
 

Hello there lemmings! Finally I have taken up the courage to buy a low power mini PC to be my first homeserver (Ryzen 5500U, 16GB RAM, 512 SSD, already have 6TB external HDD tho). I have basically no tangible experience with Debian or Fedora-based system, since my daily drivers are Arch-based (although I'm planning to switch my laptop over to Fedora).

What's your experiences with Debian and Rocky as a homeserver OS?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 12 points 10 months ago (2 children)

What surprised me with debain, it comes as a very minimal installation, so you will have to set up stuff like sudo yourself.

[–] [email protected] 2 points 10 months ago

If you don't set a root password, it'll add your user created during the install to the sudo group.

[–] [email protected] -5 points 10 months ago (1 children)

That's 23s of your life wasted, but how would you set it?
NOPASSWD?

That's not secure by most experts, people do it as convenience, but say rogue code was run by user and sudo was open, ... done your system belongs to someone else now.

@NotATurtle @PrivateNoob

[–] [email protected] 2 points 10 months ago (2 children)

Hmmm interesting, so having no sudo is a security move then?

[–] [email protected] 8 points 10 months ago

Sudo is fine, just use a good password. Anyone setting up NOPASSWD has given up on security, it's not a thing in real practice.

[–] [email protected] 2 points 10 months ago

That is a strict position some have, but I didn't say this. Editing /etc/sudoers and giving sudo or wheel group users a no-passwd access is insecure.

sudo chmod 1777 /tmp

will not ask you for
passwd, it is like bypassing sudo

If you open sudoers you will see what I'm saying. In debiuntu it is sudo group in arch/void ... it is wheel group

@PrivateNoob