I’m writting a script to be activated at first boot to create a user managed my systemd-homed, and I can’t find a way to make it not interactive.
When homectl create.. is executed, it asks for the password of the user being created. Is there a way to skip this request or set the password in some other way?
I just needed to include the password as part of the JSON identity file.
"secret" : {
"password" : [
"my-password"
]
}
The solution above only applies to homectl create though. I’m still looking to activate the user without having to type a password when homectl activate
is executed.