Changes

Jump to navigation Jump to search
911 bytes added ,  22:30, 21 April 2013
Line 422: Line 422:  
|-
 
|-
 
| db accounts show <accountname> || shows the account details
 
| db accounts show <accountname> || shows the account details
 +
|-
 +
| /etc/e-smith/events/actions/initialize-default-databases|| initializing the default database values
 
|}
 
|}
   Line 428: Line 430:     
you can see this page of the wiki [[DB_Variables_Configuration]]
 
you can see this page of the wiki [[DB_Variables_Configuration]]
 +
 +
== Setting db variables to default values ==
 +
{{Note box| Use of 'config' is a shorthand version for 'db configuration' and therefore only works with the configuration database}}
 +
 +
Any db variable that has a default value can be reset to the default by deleting the variable entirely, then re-initializing the default database values as follows:
 +
config delprop <key> <prop>
 +
/etc/e-smith/events/actions/initialize-default-databases
 +
 +
=== Delete a property value ===
 +
To delete the property
 +
db accounts delprop <key> <prop>
 +
 +
=== Reset a property value ===
 +
To reset to an empty value
 +
db accounts setprop <key> <prop> <nowiki>''</nowiki>
 +
 +
{{Warning box|Database parameters are case sensitive so take great care when typing at the server shell because no error messages are given should you make a mistake.}}
 +
    
===Password strength===
 
===Password strength===

Navigation menu