beautypg.com

Database daemon (dbd), Data maintenance – AASTRA BluStar 8000i BAS-Mode Administrator Guides EN User Manual

Page 148

background image

Data Maintenance

10-5

41-001391-00 Rev 03 – 04.2012

Database Daemon (DBD)

The DBD Shell is a command line utility that allows you to run DBD commands from the command line. To start the DBD
shell, from a command shell run the command /opt/m/vipr2/bin/dbdshell, then login as admin as follows:

Typing help at the command prompt will give a list of commands possible with the dbdShell. For example, to get a list of
user's on the BluStar system:

To change a user's password (Note that the admin has logged in above. The PASSWORD field must be the admin's pass-
word):

The GUID of the user is returned if the password has been set successfully.

Welcome to the DBD shell:

Version:$Id:dbdshell,v1.33 2003/08/20 14:23:39 rob Exp $

dbdShell Login: admin

Password:

Role :

Logged in

GUID = 00000000000000000000000000000000

AUT 0d1fc9f2e98d86f6a9f267beebb29d5f

ROLE = web-platform-admin

opr:>

opr:>help

opr:>user.list.get{}

{ 'LIMIT': 2,

'LIST': [ { 'DISPLAYNAME': 'admin',

'GUID': '00000000000000000000000000000000',

'NAME': 'admin',

'SIPURL': 'sip:[email protected]' },

{ 'DISPLAYNAME' : 'Bob',

'GUID' : '188aa6a2e42911d78927000255c76059',

'NAME' : 'bob',

'SIPURL' : 'sip:[email protected]' }],

'NEXT' : '#FINISHED#'}

opr:>

opr:>entity.password.set{ 'NAME' : 'bob ', 'PASSWORD' : 'vipr' , 'PASSWORD_NEW' : 'qfgj163'}

{ 'GUID' : '188aa6a2e42911d78927000255c76059' }

Note:

Be Careful using the DBD commands (especially when logged in as the administrator). Data could be lost, or essential
security features on the BluStar Application Server could be changed or disabled. Only enter DBD commands when
directed to do so by a support representative.