Changes

From SME Server
Jump to navigationJump to search
580 bytes added ,  18:38, 14 February 2015
no edit summary
Line 304: Line 304:  
Second step you should check your new password to run UPSRW & UPSCMD. Of course, you could change your password for a easier one to use.
 
Second step you should check your new password to run UPSRW & UPSCMD. Of course, you could change your password for a easier one to use.
   −
config show nut
+
config show nut
    
To set new admin password in database. The new password would be admin ( change it to suit your need )  
 
To set new admin password in database. The new password would be admin ( change it to suit your need )  
   −
config setprop nut AdminPass admin  
+
config setprop nut AdminPass admin  
    +
To enabled administrative privileges and run command to ups.
    +
config setprop nut AdminUser enabled
 +
 +
Now, to get '''upsd''' to recognise admin modification for administrative privileges we expand the template and reload the '''upsd''' configuration
 +
 +
/sbin/e-smith/expand-template /etc/ups/upsd.users
 +
/usr/sbin/upsd -c reload
 +
 +
{{Note box|To disabled the admin user once you have changed the UPS parameters or issued commands as required, issue the commands
 +
config setprop nut AdminUser disabled
 +
/sbin/e-smith/expand-template /etc/ups/upsd.users
 +
/usr/sbin/upsd -c reload
 +
}}
 +
 
<headertabs/>
 
<headertabs/>
  
66

edits

Navigation menu