Bug 1194042 - enabling the password-free login setting does not disable the password for a simple user
enabling the password-free login setting does not disable the password for a ...
Status: CONFIRMED
Classification: openSUSE
Product: openSUSE Distribution
Classification: openSUSE
Component: YaST2
Leap 15.3
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: YaST Team
Jiri Srain
https://trello.com/c/HeYninKZ
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-12-23 12:26 UTC by Nikolay Sabelnikov
Modified: 2021-12-27 15:04 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
screenshot of this setting (77.32 KB, image/jpeg)
2021-12-23 12:26 UTC, Nikolay Sabelnikov
Details
The yast-users Login Settings display in English. (22.40 KB, image/png)
2021-12-23 13:04 UTC, David Diaz
Details
The yast-users Login Settings help in English. (46.80 KB, image/png)
2021-12-23 13:05 UTC, David Diaz
Details
y2log (4.33 MB, application/x-xz)
2021-12-24 09:10 UTC, Nikolay Sabelnikov
Details
Screenshot with selection (90.05 KB, image/jpeg)
2021-12-24 10:09 UTC, Nikolay Sabelnikov
Details
I allocated for an answer. (89.62 KB, image/jpeg)
2021-12-27 15:04 UTC, Nikolay Sabelnikov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolay Sabelnikov 2021-12-23 12:26:42 UTC
Created attachment 854779 [details]
screenshot of this setting

What this setting is for, I can't figure out if it doesn't really work.
Comment 1 Stefan Hundhammer 2021-12-23 12:53:05 UTC
I can only guess from the bug title what that Russian screenshot is. ;-)
Comment 2 David Diaz 2021-12-23 13:03:57 UTC
As the help text says, the option is for allowing users login in the system without entering the password.

Do you mean that it is not working for you? If so, could you please provide the YaST logs[1] collected by running the `save_y2logs` command?

Thanks in advance!

[1] https://en.opensuse.org/openSUSE:Report_a_YaST_bug
Comment 3 David Diaz 2021-12-23 13:04:39 UTC
Created attachment 854781 [details]
The yast-users Login Settings display in English.
Comment 4 David Diaz 2021-12-23 13:05:02 UTC
Created attachment 854782 [details]
The yast-users Login Settings help in English.
Comment 5 Nikolay Sabelnikov 2021-12-23 13:11:11 UTC
(In reply to David Diaz from comment #2)
> As the help text says, the option is for allowing users login in the system
> without entering the password.
> 
> Do you mean that it is not working for you? If so, could you please provide
> the YaST logs[1] collected by running the `save_y2logs` command?
> 
> Thanks in advance!
> 
> [1] https://en.opensuse.org/openSUSE:Report_a_YaST_bug

I can only give tomorrow, now, I'm not near the computer.
Comment 6 Nikolay Sabelnikov 2021-12-24 09:10:08 UTC
Created attachment 854800 [details]
y2log

I'm sending
Comment 7 David Diaz 2021-12-24 10:01:20 UTC
Thanks for the logs.

But please, tell me, are you having problems with that feature? I have tested it in an openSUSE TW and, after rebooting the system, I can log in without providing the user password, as help text states.

Anyway, help can be improved a bit.
Comment 8 Nikolay Sabelnikov 2021-12-24 10:09:22 UTC
Created attachment 854803 [details]
Screenshot with selection

As for autologyn, there are no questions. Question of the non-tariff entry, specially allocated.
Comment 9 Nikolay Sabelnikov 2021-12-24 11:24:57 UTC
The Buster in the user is clear, but it is unclear what gives the "non-zero input" and gives the user the ability to disable the password?
Comment 10 David Diaz 2021-12-27 10:36:03 UTC
Ok, let's recap.

We're talking about the Expert Options -> Login Settings dialog in yast2-users.

There, we have two options. Namely, 

  * Auto login -> it allows selecting a user to log in the system without providing the password right after booting it. However, for switching to another user (or even for returning to the "auto logged" session) the system will ask for the user password.
  * Passwordless Logins -> if active, the system will ask for NONE user password. You can switch between users without providing the password.


Hope it is more clear now. Personally, I do not find it useful and none use case comes to my mind now, but it is a feature that has been there for ages. 

I'll create an item in our task queue for addressing the help text, to see if we manage to improve it.
Comment 11 David Diaz 2021-12-27 10:45:49 UTC
According to my previous comment (based on a manual test done by myself minutes before), below part of the help text is not always true

> Otherwise, you are asked for the password even if you set a user to log in automatically. 

As commented, when auto-login is set the password is not asked the first time right after booting the system. It's asked in subsequent logins (after switching to another user, after a screen lock, etc.)
Comment 12 Nikolay Sabelnikov 2021-12-27 15:04:06 UTC
Created attachment 854830 [details]
I allocated for an answer.

If you use autologyn, it is clear, the password is naturally when the first input will not be used. I know it perfectly well and understand, but as for the "non-zero entry", it would be better that this check has turned off the password from the user, otherwise it is a useless function, perhaps even duplicating.