Mailinglist Archive: yast-devel (91 mails)

< Previous Next >
Re: [yast-devel] Feedback needed: users screen
  • From: Ancor Gonzalez Sosa <ancor@xxxxxxx>
  • Date: Wed, 27 Jan 2016 10:41:17 +0100
  • Message-id: <>
On 01/21/2016 09:19 AM, Ancor Gonzalez Sosa wrote:
After getting some bug reports about usability of the "create user"
screen during installation we have decided to do something about it...
but it's not so easy.

The current status

Here you can see the current screen.
There is quite some functionality hidden there:

A) You can select the password encryption method
(clicking on "Change...")

B) You can select one of only one of these options:

B.1) Create a user

B.2) Skip user creation
(Leaving the form blank and clicking "Next", a confirmation
popup will be displayed "This only makes sense in environments
with an authentication service. Are you sure?")

B.3) Import users from a previous installation.
(Clicking on "Change..." and then checking the corresponding
checkbox -only visible if users are detected- under the
section "authentication method")

B.3 is so well hidden that I wouldn't be surprised if nobody uses it or
if the feature is full of bugs.

Last but not least, the dialog exposes a feature that is not there. The
summary suggest that you can change the authentication method, but the
only supported option is "local /etc/password". The option is there only
to display B.3 (tricky!!).

My proposal


That's why I finally implemented (apart from a huge code refactoring
that I cannot emphasize enough).

The normal installation workflow have now 2 steps:

1) Creation of user. This is how it looks in a clean system and in
a system with previous users

2) Root's password. As usual, this step is skipped if "use passwd for
system administrator" is checked. It looks like always

That's it. No more hidden functionality.

But you could be wondering where the encryption method selector ended
up. That depends on the content of the proposal section of the
control.xml of the distribution.

Option a) Nothing (current) - The option is simply not there anymore

Option b) users proposal - The installation summary looks like this
(check "users settings" section)

Option c) users_encryption proposal - Summary looks like this
(check "password encryption...")

With both options b and c, clicking on the name of the method will take
the user to this screen

And that is. I'm currently preparing the source code for its final merge
into yast2-users. So if you have any feedback, speak up now. :-)

Ancor González Sosa
YaST Team at SUSE Linux GmbH
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >