in Linux I can do this to create a new user and allow it to call sudo:
useradd -m -s /bin/bash -g group1 user1 usermod -a -G sudo,www-data user1 # /etc/sudoers %sudo ALL=(ALL:ALL) NOPASSWD: ALL
How can I do the same in FreeBsd?
useradd useradd: Command not found.
Note that I don't want an interactive way to create a user -- adduser -- because I want to be able to run it from a bash script without having to type any details in the terminal.
It's FreeBsd 11.