1
18.1 Legacy Series / 18.1.6 Cannot su - OPNsense reverts changes to wheel group in /etc/group file
« on: May 10, 2018, 01:42:11 pm »
Hi All. I am new to OPNsense. Currently evaluating it for my requirements. So far very happy with what I have seen. Kudos to all those from the ground up who are involved in this project!
I am going through basic security tuning of my OPNsense 18.1.6 install. I have added a user with basic rights through the WebGUI. I have now used the console via root to add the user to the wheel group in /etc/group.
I have attempted this by direct editing the file and by using the "pw usermod" command.
I am able to SSH in using this basic user without issue. I was able to su to root once successfully, however no more. OPNsense / FreeBSD overwrites the /etc/group file every time I change it!
How does anyone else su to root with this behaviour?
Is there a fix for this?
Cheers,
PacketOrchestrator.
I am going through basic security tuning of my OPNsense 18.1.6 install. I have added a user with basic rights through the WebGUI. I have now used the console via root to add the user to the wheel group in /etc/group.
I have attempted this by direct editing the file and by using the "pw usermod" command.
I am able to SSH in using this basic user without issue. I was able to su to root once successfully, however no more. OPNsense / FreeBSD overwrites the /etc/group file every time I change it!
How does anyone else su to root with this behaviour?
Is there a fix for this?
Cheers,
PacketOrchestrator.