CLI upgrade of OPNsense
Make possible for root user to login first (under System > Settigns > Administration)
Option A)
Option B)
As root, create a new sudoers file
vi /usr/local/etc/sudoers.d/anton
``
privileges
anton ALL=(ALL:ALL) NOPASSWD: ALL
Disable root direct login
Elevate priveleges
sudo su
Install tmux
pkg install tmux-3.8
Exit to normal user
exit
Verify that there is no attachable session and create first tmux session
tmux a
tmux
Elevate privileges
sudo su
Update process itself:
pkg update
pkg upgrade
opnsense-update







