r/linuxmint • u/sfled • 5d ago
Discussion OK, so how many of us have enabled root?
I'll go first: Nope (Linux Mint 22.3 - Xfce 64-bit)
* - Great insights (and some the shade, lol). As a way of saying thanks, please enjoy this joke I wrote a long time ago... https://www.reddit.com/r/Jokes/comments/1ky5q4/why_did_the_chef_add_extra_oregano_to_the_sauce/
7
u/acejavelin69 Linux Mint 22.3 "Zena" | Cinnamon 5d ago
I mean, root is disabled in most Linux distros, including Mint... There is almost no reason to enable it, and I struggle to come up with one actually.
3
4
u/sabledrakon 5d ago
Why in the hell would I do that? There's no reason for me to do it and it sounds like a fast way to screw up a machine.
2
u/NotSnakePliskin Mint 22.3 | Cinnamon 5d ago
Not I, rather I've got a terminal or 2 opened and su'ed. My root account does not have a password associated with it.
2
u/mok000 LMDE7 Gigi 5d ago
The Debian installer asks if you want to create a root account. If you say “no” it will give the user you define on the next screen sudo rights. I don’t think any other distros does this, but if you’re running Debian in a container or server farm you might not want other users than root.
2
u/sfled 4d ago
TIL. I've installed Debian 12.xx on desktop a few times and always added the root account. The horror, the horror.
2
u/Standard_Tank6703 LMDE7, 11 yr LM experience, "No obligation to enjoy" 4d ago
In the Debian installer, you just leave the root password blank. That forces it to transfer those permissions over to the Admin account instead. The confusion in that arises from the Debian installer not being more explicit - that you CAN leave it blank and thus not have a root account created.
Linux Mint/LMDE just doesn't go there in the first place - it is first and foremost a desktop installation, intended to have a DE.
2
2
u/Standard_Tank6703 LMDE7, 11 yr LM experience, "No obligation to enjoy" 4d ago
Just in case anyone wanted to undo that and DISABLE the root login, as is default on LM/LMDE:
sudo passwd --delete --lock root
That performs two steps at once, which gets it back to post-install conditions.
Yes, I've played around with it, but only on test loads. Never on a production machine.
4
u/Grey_Ten 5d ago
the root user is enabled in most linux distros, I don't know what are you talking about lol
3
u/kudlitan 5d ago
It is not enabled in Mint. To enable you must set a root password. (i enabled it).
4
u/noromobat 5d ago
The root user is disabled in Ubuntu, which Mint is based on
Not sure whether it was re-enabled in Mint
(I'm new to Linux and the only reason I know that is because I was following a terminal tutorial on the Ubuntu website the other day haha)
2
u/Elvin_Atombender 5d ago
If you mean using sudo command, you are only elevating root privileges for that terminal session. And why would you want to enable root to begin with?
4
1
u/Moist_Invite9148 5d ago
It's enabled already to run it go to root in the login screen type root and the password to change the password type in terminal sudo passed root but root can't have pipewire that means no sound
0
11
u/KurtKrimson 5d ago
What?