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

PrivateNoob@sopuli.xyz to Linux@lemmy.ml – 65 points –
external-content.duckduckgo.com

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?

41

You are viewing a single comment

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

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

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

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

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.

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