Re: Custom User Creation

2024-11-22 Thread Robert Spiteri
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

Re: Custom User Creation

2024-11-21 Thread Juergen Fiedler
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,