Thanks Juergen for your explanation and suggestion. I will use your method
then since, yes, it does make sense after all. Thanks again
On Fri, 22 Nov 2024 at 08:42, Juergen Fiedler
wrote:
> I'm thinking your problem is that chpasswd only works for existing users.
> You could probably add newuser
I'm thinking your problem is that chpasswd only works for existing users.
You could probably add newusers to your packages, and have your script
something like:
#!/bin/sh
echo "admin:admin:::Admin User:/home/admin:/bin/bash" | newusers
newusers takes a line that looks like an /etc/passwd entry,
Can someone please guide me on this?
I want to change the default username and password instead of the user/live.
I do not want to use the boot parameters but would like to have everything
done using files and hooks.
There is multiple documentation online and not all is correct/updated it
seems.