Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Warning
This page refers to functionality that has been removed from License Statistics. 

The xfeditdb utility lets you add, view, and delete features, user/host groups, and users/hosts within groups. The data is stored in the SQLite database.

...

The xfeditdb options are described below.

-listtable database.db table
 

List (view) a table in the specified database.

Use one of the following options to specify the table to view:

features
List all features in the database.

user_groups
List all user groups in the database.

host_groups
List all host groups in the database.

users_groups
List users included in the groups in the database. The list shows the group name followed by the user name.

hosts_groups
List hosts included in the groups in the database. The list shows the group name followed by the host name.

For example, to see a list of all users that belong to groups in the autocad.db database, you would type:
xfeditdb – listtable autocad.db users_groups

-addtable/-deletetable database.db features/user_groups/host_groups entry
or
-addtable/-deletetable database.db users_groups/hosts_groups entry group

Add data to or delete data from a table in the specified database.

Use one of the following options to specify the data to add/delete:

features entry
Add/delete the specified feature, where entry is the feature name.

user_groups entry
Add/delete the specified user group, where entry is the user group name.

host_groups entry
Add/delete the specified host group, where entry is the host group name.

users_groups entry group
Add/delete the specified user to the specified group, where entry is the user name and group is the group name.

hosts_groups entry group
Add/delete the specified host to the specified group, where entry is the host name and group is the group name.

For example, to add a new user group named "my_user_group" to the autocad.db database, you would type:
xfeditdb -addtable autocad.db user_groups my_user_group