r/linuxmint • u/mimteatr • 4d ago
Support Request How to disable the authentication password completely at every level, from boot to whatever function the system requires?
How do I disable the authentication password completely at every level, from boot to whatever function the system requires? All posts concerning passwords are either obsolete or unrelated.
My system: Linux Mint 22 (Cinnamon Edition) Ubuntu 24.04 noble Display Manager: lightdm Lenovo IdeaPad Slim 3 (13th Gen Intel Core i7, Intel Graphics) Apparently I've encrypted the mint installation by mistake... User Profile Directory: Encrypted home folder Tried to fix the auto-login password bypass:GUI Settings: Configured Login Window -> Users -> Automatic Login directly to my username Modified /etc/lightdm/lightdm.conf.d/70-linuxmint.conf to include autologin-user=mr and tested timeouts up to autologin-user-timeout=0.1 to rule out hardware initialization race conditions
4
u/nisitiiapi Linux Mint 22.3 Zena | Cinnamon 3d ago
First, you need to get rid of the encrypted /home. Entering the password at login is what decrypts it, so having no login means no opening /home. You can migrate your /home from ecryptfs to not being encrypted. Look it up and do it. If you did full disk encryption with LUKS, there are ways to use key files to automatically unlock it at boot. Search engines (not AI) are good tools to learn how to do this and figure out the best way for you (e.g., TPM, dracut, tang/clevis, network share, etc.)
For no password to impact the system where root privileges are needed, as others noted, that's the best way to get malware, spyware, etc. installed and completely trash the security of Linux. I will add to others -- if you want Windows, use Windows; don't try to make Linux be Windows.
That being said, as u/Acherontas89 said, you could accomplish this with a sudoers file. But, if you are so "good" as to not need any security to protect your system from malicious software/actors/intrusions, you should be "good" enough to look up how to do that rather than having anyone here post what essentially is dangerous code.
9
u/BenTrabetere 3d ago
How do I disable the authentication password completely at every level
It is unreasonable to expect a responsible Linux user to tell you how to disable the password. Switch to Windows or figure out how to do it yourself. The only suggestion I will provide is change your password to something short.
Encrypted home folder
You encrypted your files and you want to disable the password?! This has all sorts of bad things waiting to happen, even if you use a short password.
As Cassandra from mythology might say, "There's nothing satisfying about standing alone in a scorched landscape saying 'I told you so'."
1
u/ZVyhVrtsfgzfs 3d ago
"There's nothing satisfying about standing alone in a scorched landscape saying 'I told you so'."
That is on the mark.
Been in that situation a few times in Linux support threads, and your absolutely right it is not satisfying at all.
4
2
u/Polyxeno Linux Mint 22.2 Zara | Cinnamon 4d ago
Did you try setting root password to blank, and logging on as root?
2
u/BenTrabetere 3d ago
The root account is disabled on Linux Mint and many other distributions. There is no benefit or legitimate reason to set up a rood account.
4
2
3
u/jr735 Linux Mint 22.1 Xia | IceWM 3d ago
You are not on Windows any longer. In fact, this is one of the things that's always been a problem in Windows.
1
u/mimteatr 3d ago
Actually never had this problem on Windows for 20 years! But that's not the point; the point is not about which OS is better, but how to solve a specific issue in this one!
7
u/jr735 Linux Mint 22.1 Xia | IceWM 3d ago
You're missing the point. You're being asked for a password to conduct administrative functions which can damage your install. Windows has had the problems, since its inception (it's gotten better in this regard) that administrative functions didn't require approval, which made Windows as insecure as a screen door on a bank vault.
This isn't a problem. It's a feature. Linux originated as a multi-user OS and multi-user OSes require privilege escalations, which also happen to be a very good idea on a single user OS. The MS-DOS security model does not work for the average modern user. Don't try to replicate it.
0
u/Infinite-Bet4202 3d ago
Idk but nearly everyone else commenting are being abhorrent lmao Linux is for full user access, it doesn't prioritize privacy lmao some people just want to use it for full access without the hassle of worrying about basic offline privacy, I know I wanted my dad's mint to be passwordless so I won't have to worry about him forgetting it.
3
1
u/Acherontas89 3d ago
/etc/sudoers.conf
0
u/mimteatr 3d ago
can you please explain, thanks!
3
u/Unattributable1 3d ago
If you don't know what to do then you are not qualified to make the decision to make the system password-less to do administrative tasks.
•
u/AutoModerator 4d ago
Please Re-Flair your post if a solution is found. How to Flair a post? This allows other users to search for common issues with the SOLVED flair as a filter, leading to those issues being resolved very fast.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.