but have to remember to do that every-time is not feasible.
sudo opnsense-shell
add "sudo su" at the end of your ~/.profile
login as the user you want to this for, it should take you to your home directory. To check just issue "ls -alh ~/" and it should list a file called ".profile" the leading full stop is relevant.If you can see it then in your favourite editor ie. nano you edit it:"nano ~/.profile" . Make your changes, save and exit.You need to log out and log back in to take effect. No reboots are necessary.
If you replace sudo su with sudo opnsense-shell does it fix the problem?