Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow empty password. #1076

Closed
RokeJulianLockhart opened this issue Jan 25, 2023 · 2 comments
Closed

Allow empty password. #1076

RokeJulianLockhart opened this issue Jan 25, 2023 · 2 comments

Comments

@RokeJulianLockhart
Copy link

RokeJulianLockhart commented Jan 25, 2023

Fedora allows configuring no password during installation. I know of 2 people who I have suggested Linux to who have decided not to use it simply because a password appears mandatory.

It's not. passwd -d removes this necessity, which means that for such people who shall merely invoke that command subsequent to installation, this mandatory password field is silly, since it wastes time if they'll merely remove it again!

Would configuring YaST2 Security > Password Settings > Minimum Acceptable Password Length (which this demonstrates) to be 0 by default potentially remediate this?

Supports #903.

@shundhammer
Copy link
Contributor

Would configuring YaST2 Security > Password Settings > Minimum Acceptable Password Length to be 0 by default potentially remediate this?

I don't know. Simply try it.

But you know: The usual caveats: It will make your system a lot less safe.

But what's wrong with simply enabling auto-login?

108857243-2eed4c80-75eb-11eb-8d92-4d869b0d7fbf

It's the default anyway for TW (and IIRC for Leap 15.x as well).

@shundhammer shundhammer closed this as not planned Won't fix, can't repro, duplicate, stale Mar 21, 2023
@RokeJulianLockhart
Copy link
Author

@shundhammer,

But what's wrong with simply enabling auto-login?

It bypasses much of what SDDM requests the user's password for:

image

appears upon login if autologin is enabled.

Additionally, when launching YaST,

image

still appears too, not that the Remember me button works anyway.


I don't know. Simply try it.

It doesn't work, actually, unlike on every other Linux distribution I've tried. I think it's a bug with OpenSUSE:

PS /home/rokejulianlockhart> script -a
Script started, output log file is 'typescript'.
rokejulianlockhart@RQN6C6:~> sudo passwd -d $USER
[sudo] password for root: 
passwd: password changed.
rokejulianlockhart@RQN6C6:~> su $USER
Password: 
su: Authentication failure

demonstrates that setting it to nothing doesn't work, whereas

rokejulianlockhart@RQN6C6:~> passwd $USER
New password: 
Retype new password: 
passwd: password updated successfully
rokejulianlockhart@RQN6C6:~> su $USER
Password: 
rokejulianlockhart@RQN6C6:~>

demonstrates that, obviously, setting a password works.

That's why I asked the question. (Had Discussions have been available, I would have asked it there instead.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants