07-18-2020, 11:04 AM
There is two things you can do regarding the password:
to circumvent the password policy. See the mobian wiki
Or you could change the password policy by editing '/etc/pam.d/common-password' See this issue.
To change the user name you can either build an image yourself using this debos recipe and supplying '-u <USERNAME>' to the build script.
Alternatively you could probably use Jumpdrive, mount the root partition and then rename /home/mobian to /home/user and also update the /etc/passwd and /etc/shadow files. However do this at your own risk, since I have never tried it. Not sure if this breaks the auto-login of phosh (maybe you need to do some changes there as well).
Code:
sudo passwd mobian
sudo passwd root
Or you could change the password policy by editing '/etc/pam.d/common-password' See this issue.
To change the user name you can either build an image yourself using this debos recipe and supplying '-u <USERNAME>' to the build script.
Alternatively you could probably use Jumpdrive, mount the root partition and then rename /home/mobian to /home/user and also update the /etc/passwd and /etc/shadow files. However do this at your own risk, since I have never tried it. Not sure if this breaks the auto-login of phosh (maybe you need to do some changes there as well).