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

Creating the "First User" must be optional (or configurable) #1418

Open
kobliha opened this issue Jul 1, 2024 · 3 comments
Open

Creating the "First User" must be optional (or configurable) #1418

kobliha opened this issue Jul 1, 2024 · 3 comments

Comments

@kobliha
Copy link
Contributor

kobliha commented Jul 1, 2024

Agama will not allow clicking /Install/ before I define the first user, but there are systems that do not need the first user, e.g.., root-only systems that are managed by Salt or similar. Some servers just don't need any other users. If want it to be enforced for TW/Leap, then it needs to be configurable per product as SLES can skip creating that user.

@ancorgs
Copy link
Contributor

ancorgs commented Jul 1, 2024

Yes, that's a topic we need to better define based on the possible distributions and their policies/approaches.

Having said so, it's not true you cannot install before the first user is defined. You cannot install until some authentication has been defined. That authentication can be a first user or can be a password (or SSH key) for root.

@kobliha
Copy link
Contributor Author

kobliha commented Jul 3, 2024

First user not defined

I see, so it's actually a confusing text. After setting the root password I can actually install the system, but Users still complain.

Possible understanding of the text above: If you do not create the user, you will not be able to log into the system.

But that's not really true. You can still log in locally. The text only applies to SSH as root is not permitted to log in with password. Moreover, root can actually login with SSH key.

@kobliha
Copy link
Contributor Author

kobliha commented Jul 3, 2024

And on the other hand, if I define the first user, I can install the system. Even without defining the root password or SSH key which makes the system unusable as sudo still works the old way, i.e., not the Ubuntu way. So, root password (or SSH key) is still needed for that.

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