pkg install sudo
then nano /usr/local/etc/sudoers
add the line for your user underneath root line
USERNAME ALL=(ALL) ALL
ctrl+o to save and then to gain root access with your causal user
sudo -s
or
sudo -i
pkg install sudo
then nano /usr/local/etc/sudoers
add the line for your user underneath root line
USERNAME ALL=(ALL) ALL
ctrl+o to save and then to gain root access with your causal user
sudo -s
or
sudo -i