Adding user is done using the eyedbadmin command:
eyedbadmin
user add
[options...] [user
] [password
]
Options are:
[ --unix | --strict-unix ]
specify the user type, if unix or strict-unix type
Command arguments are:
[user]
user name, if not unix or strict-unix type (if unix or strict-unix type, the user name is the user running the eyedbadmin command)
[password]
password, if not strict-unix type. If no password is provided on command line, eyedbadmin will ask for a password on standard input.
Example 4.1. eyedbadmin user add
## Adding a 'eyedb' user: password is requiredeyedbadmin user add joe
joe password:123
retype joe password:123
## Adding a 'unix' user with password on command line: Unix user does not exist, erroreyedbadmin user add --unix tom 456
eyedb error: username 'tom' is an unknown unix user ## Adding a 'unix' user: Unix user already exists, password is requiredeyedbadmin user add --unix eric
eric password:456
retype eric password:456
## Adding a 'strict-unix' user: no password is requiredeyedbadmin user add --strict-unix mimi
Deleting user is done using the eyedbadmin command:
eyedbadmin
user delete
{user
}
Command arguments are:
{user
}
EyeDB user name (can be of any user type)
Example 4.2. eyedbadmin user delete
## Deleting existing usereyedbadmin user delete joe
## Deleting unknown usereyedbadmin user delete r2d2
delete user error: user entry 'r2d2' does not exist
Setting user password is done using the eyedbadmin command:
eyedbadmin
user passwd
user
[password
] [new_password
]
Command arguments are:
[user]
EyeDB user name (can be of type 'eyedb' or 'unix')
[password]
old password (will be asked if not provided on command line)
[new_password]
new password (will be asked if not provided on command line)
Example 4.3. eyedbadmin user passwd
## Setting password with prompteyedbadmin user passwd eric
user old password:456
user new password:123
retype user new password:123
## Setting password from command-lineeyedbadmin user passwd eric 123 789
Listing existing EyeDB users is done using the eyedbadmin command:
eyedbadmin
user list
[user
]
Command arguments are:
[user
]
EyeDB user name
Example 4.4. eyedbadmin user list
## Listing all userseyedbadmin user list
name : "mimi" [strict unix user] sysaccess : NO_SYSACCESS_MODE name : "eric" [unix user] sysaccess : NO_SYSACCESS_MODE name : "francois" [strict unix user] sysaccess : SUPERUSER_SYSACCESS_MODE dbaccess : (dbname : "newtest", access : ADMIN_DBACCESS_MODE) (dbname : "test3", access : ADMIN_DBACCESS_MODE) ## Listing a specific usereyedbadmin user list mimi
name : "mimi" [strict unix user] sysaccess : NO_SYSACCESS_MODE