| 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:
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.}}