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

Not setting FIRST_USER_PASS is not possible (for the wrong reason)? #670

Open
aWeinzierl opened this issue Feb 25, 2023 · 0 comments
Open

Comments

@aWeinzierl
Copy link

README.md says:

  • FIRST_USER_PASS (Default: unset)

    Password for the first user. If unset, the account is locked.

However, when I enable DISABLE_FIRST_BOOT_USER_RENAME while not setting FIRST_USER_PASS, it says:

Not setting FIRST_USER_PASS makes your system vulnerable and open to cyberattacks

This doesn't make any sense to me, since disabling login via password (which is what locking the account actually seems to mean in the context of this project - however even if the account would actually be locked, I don't see any vulnerability) should only increase the security of the system.

Proposal:

  • Update README.md to accurately describe what happens
  • Update build.sh to mention the actual reason for requiring a password
  • Ideally: Support omitting the password to allow generating an image with access by public key authentication via ssh only.
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

1 participant