Hi
I want to automatically transfer a setup script and run it on freshly installed FreeBSD 13.2 machines. The problem is that the script requires elevated privileges. In linux, the command
I want to automatically transfer a setup script and run it on freshly installed FreeBSD 13.2 machines. The problem is that the script requires elevated privileges. In linux, the command
$ echo 'password' | sudo -S ./setup.sh
would do the trick, but it seems like it's not possible to read the password from stdin in FreeBSD. Is there any ways around this?