Enterprise Server Configuration and Transfer Reference / Managing Users from the Command Line |
APOD/SOD gives precedence to settings as follows, where user settings have the highest priority and default settings have the lowest.
The table below shows the setting values that a user aspera_user_1 is assigned in bold. In this example, aspera_user_1 is a member of both the admin and xfer groups. The admin group's precedence setting is 0, which supersedes the xfer group's setting of 1:
You can configure a group's precedence in aspera.conf by running the following asconfigurator command:
# asconfigurator -x "set_group_data;group_name,group_name;precedence,value"
This adds a <group> section to aspera.conf like the one below. In this example, group "admin" has higher precedence than group "xfer".
<groups> <group> <name>admin</name> <precedence>0</precedence> ... </group> <group> <name>xfer</name> <precedence>1</precedence> ... </group> </groups>
You can also edit aspera.conf manually by opening it with administrative privileges:
/opt/aspera/etc/aspera.conf
In the file, locate the entry for each group, add the <precedence> option, and assign a precedence value as shown in the example above. After editing the file, validate the XML form and option values by running the following command:
# /opt/aspera/bin/asuserdata -v