agama-project / agama

A service-based Linux installer
https://agama-project.github.io/
GNU General Public License v2.0
142 stars 43 forks source link

Do not report the real problem when failing to create a user #1680

Open kobliha opened 2 weeks ago

kobliha commented 2 weeks ago

New User

After defining the First User (well, rather a special one) , the Users summary page still says "No user defined yet".

Users Summary

But when I surf to the Overview page, the Install button is there and there is no error there. After pushing it, it really starts installing ...

kobliha commented 2 weeks ago

Fine, so after talking with @imobachgs I can confirm, that defining the root password only is enough for making the Summary happy. I can install after that. The problem might be the single-letter username.

imobachgs commented 2 weeks ago

The bug is that you did not get a proper error when you tried to create the user. In this case, Agama uses YaST internals and the same rules apply: "The username must be between 2 and 32 characters in length".