radxa-repo / rbuild

Radxa Image Builder (Maintenance mode)
https://radxa-repo.github.io/rbuild/
GNU General Public License v3.0
53 stars 44 forks source link

Custom username and password #50

Open windskyxb opened 5 months ago

windskyxb commented 5 months ago

Can I customize the system username and password when using rbuild?If so, how should I customize my username and password?

RadxaYuntian commented 5 months ago

You can modify the before.txt in the config partition. This file creates the default accounts, and contains comments about its command formats.

This file is not part of rbuild, and it is provided by rsetup. The reason is that rsetup provides the parsing and execution of this file, so it is easier to have both parts in the same repo when updating features.

If you want to change this as part of rbuild process, you can add custom action to modify this file before the image is finished.