Nginx SMF for Solaris – Allowing Users Starting Nginx With SMF

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

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




  
    
    
      
    
    
      
    
    
      
      
      
    
    
      
      
      
    
    
      
      
      
    
    
      
      
      
    
    
      
      
      
    
    
      
        
      
    
  

Leave a Reply

avatar
3000
  Subscribe  
Notify of