How can I generate passwd and shadow files with the same format as
etc/passwd used for the system to store users accounts?

Thx