Assigning access to any user to start Nginx
Below are the steps needed to a user that will be allowed to start Nginx with the Solaris SMF system.
Add to /etc/user_attr
nginx::::auths=solaris.smf.manage.nginx
Or just run
usermod -A solaris.smf.manage.nginx nginx
Add to /etc/security/auth_attr.d/local-entries
solaris.smf.manage.nginx:::enable, disable and refresh nginx::
Create the service