DevTech101

DevTech101

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




  
    
    
      
    
    
      
    
    
      
      
      
    
    
      
      
      
    
    
      
      
      
    
    
      
      
      
    
    
      
      
      
    
    
      
        
      
    
  

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
%d bloggers like this: