-
-
Notifications
You must be signed in to change notification settings - Fork 195
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
Mechanism to assign user/password on first boot? #53
Comments
If anybody figures out how to configure this I would also be interested to in a solution. |
Hi there, I use a little script before running the Rasberry Pi OS through dockepi:
If you put that code into a file named "add-username", it will work by executing |
Thank you for the scrip @agoldcheidt but it does not work for me. I double-checked if the file is correctly passed to the /mnt directory and everything seems to be ok including my username and password in the file. But the Raspbian OS is not accepting these credentials. Thanks! |
Another way to set an user, passwd, etc. is to override |
Hello!
So for security reasons, Raspberry Pi OS images no longer come with a pre-configured
pi
user - see here:https://www.raspberrypi.com/news/raspberry-pi-bullseye-update-april-2022/
The good news is, you can still do headless configurations on a physical Pi by placing a
userconf
file in the/boot
partition.Is there a mechanism to do this in dockerpi?
(I realise that the repo hasn't been updated for a while - I hope it's still maintained, it seems like a really useful tool!)
The text was updated successfully, but these errors were encountered: