user removed from wheel group after reboot
-
Hi all,
pfSense 2.4.4, FreeBSD 11.2
I've added a few users (with full admin access) in web GUI.
Now trying to grant them shell root access as below:
pw groupmod wheel -m myuseror
pw usermod myuser -G wheelin both cases I can see myuser appended to wheel group in /etc/group but after OS reboot it disappears.
How do I make it permanent?
Thanks,
Adam -
Use the User manager of the web configurator and add them to the admins group:

-
They are already members of admins group and I can see it in /etc/group
But how do I elevate privileges in shell:
su - Sorry: susudo su - sudo: Command not found.?
-
So also assign the the appropriate privileges to them:

sudo is not delivered with pfSense. You may install the subo package if you need it.
-
Use the sudo package. Do not manually modify accounts in the shell. pfSense isn't engineered to allow what you are attempting to stay long-term.
-
See this recent thread for additional detail.
https://forum.netgate.com/topic/137939/bypass-su-sorry-on-pfsense
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy