Back when I setup my OPNsense box, I thought it would be a good idea to disable to the root account, and create a new account "root" account with a different user name. The new account can do anything from the GUI (web interface). However I've never been able to log into the actual box itself. Anytime I need to do something on the box, I must log into the web interface and temporarily re-active the root account.
Is there a permission, or membership I'm missing somewhere? Maybe I didn't create the new user correctly? Is it something simple I'm missing?
Quote from: ohioyj on October 18, 2026, 03:50:56 PMHowever I've never been able to log into the actual box itself.
As in SSH access ?!
You need to give the user a
shell and add it to the
wheel group so you can
su after logging in so you can
'press 8 for a shell'.
;)
Quote from: nero355 on October 18, 2026, 05:56:19 PMAs in SSH access ?!
Appreciate the reply. SSH is typically disabled until I need it. I mean if I hook a keyboard and monitor to the PC itself and try and login locally. It's like it doesn't recognize my new user account. The only access I have is to the web interface.
However it might be the same with SSH, its been a while since I've needed to do that. I honestly dont remember if I had to activate the root account for that or not.
I will check the wheel group.
Which shell did you set for the user?