Changes

From SME Server
Jump to navigationJump to search
Line 400: Line 400:  
         esac
 
         esac
   −
Now make it executable like all the other <tt>.cmd</tt> files with
+
Now make it executable by '''nut''' user
 
  chmod 754 /sbin/e-smith/nutUPS.cmd
 
  chmod 754 /sbin/e-smith/nutUPS.cmd
 +
chown root:nut /sbin/e-smith/nutUPS.cmd
    
Nut requires to use sudo for this process to work, so sudo needs configuring to enable the user nut. By default the /etc/sudoers file is not part of the SME Server template system. To workaround this create a custom template directory:
 
Nut requires to use sudo for this process to work, so sudo needs configuring to enable the user nut. By default the /etc/sudoers file is not part of the SME Server template system. To workaround this create a custom template directory:
137

edits

Navigation menu