You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The FreeBSD 9.3 and 10.3 boxes don't have any root password set allowing any user to become root with su without a password.
This is because the install scripts (9.3 and 10) are missing -h 0.
E.g. echo "vagrant" | pw -V /mnt/zroot/etc usermod root
should be echo "vagrant" | pw -V /mnt/zroot/etc usermod root -h 0
But fixing this causes the script execution to fail since no root password is given.
"execute_command": "{{.Vars}} su -m root -c 'sh -eux {{.Path}}'",
The text was updated successfully, but these errors were encountered:
Fantastic catch - I seem to recall us trying to avoid sudo on FreeBSD as it's not strictly required for the platform but it's probably sensible for these boxes.
The FreeBSD 9.3 and 10.3 boxes don't have any root password set allowing any user to become root with
su
without a password.This is because the install scripts (9.3 and 10) are missing
-h 0
.E.g.
echo "vagrant" | pw -V /mnt/zroot/etc usermod root
should be
echo "vagrant" | pw -V /mnt/zroot/etc usermod root -h 0
But fixing this causes the script execution to fail since no root password is given.
The text was updated successfully, but these errors were encountered: