How to Create a new User account via terminal.
Normally we are creating a new account via System Settings > users and groups > add account, so is there any way to create a standard/ admin user via terminal
iMac Pro
Normally we are creating a new account via System Settings > users and groups > add account, so is there any way to create a standard/ admin user via terminal
iMac Pro
It is not entirely simple or straight forward. A quick search reveals this post which using the "sysadminctl" command, but you still need to perform other steps. Most instructions use an older method of using "dscl", but this involves dozens of steps (one post mentioned issues in Monterey). In the linked post, read some of the later comments as it mentions one or two other steps which may be needed when using "sysadminctl". Don't just blindly enter any of the commands...make sure you understand them and what they are doing (this includes being careful about the scripts offered in other posts).
https://apple.stackexchange.com/a/292859
Maybe someone more knowledgeable will chime in for a better or more detailed option along with things to consider.
It is not entirely simple or straight forward. A quick search reveals this post which using the "sysadminctl" command, but you still need to perform other steps. Most instructions use an older method of using "dscl", but this involves dozens of steps (one post mentioned issues in Monterey). In the linked post, read some of the later comments as it mentions one or two other steps which may be needed when using "sysadminctl". Don't just blindly enter any of the commands...make sure you understand them and what they are doing (this includes being careful about the scripts offered in other posts).
https://apple.stackexchange.com/a/292859
Maybe someone more knowledgeable will chime in for a better or more detailed option along with things to consider.
That's an IT question. Start here: Apple Platform Deployment - Apple Support
How to Create a new User account via terminal.