Create User with SSH Access
-
How would I go about creating a new user account with the ability to locally SSH into pfsense to reboot the machine.
I would prefer the user to only be able to reboot or shutdown the server and not have permissions to change any configurations, write to any files, ect.
Thanks in advance.
-
System -> User Manager -> Users tab
Create a user and assign it "User - System: Shell Account Access" privileges.
-
I added "User - System: Shell Account Access" under the users Effective Privileges.
I can log in as the user via SSH but when I use the reboot command I get an error "Operation Not Permitted".
-
Try adding (not tested myself)
WebCfg - Diagnostics: Reboot systemMaybe it calls the same function.
-
Adding "WebCfg - Diagnostics: Reboot system" did not work. Still getting "Operation Not Permitted".