From RStudio requirements,
- User accounts must be accessible from each node and usernames and user ids must be identical on all nodes.
Currently, the linux account UIDs are auto-generated.
Changes needed:
- Calculate/Fetch uid for the authenticated user
- Seed the calculated uid while creating new user accounts
Approach 1 - Requires code changes in ohmage
A new attribute should be added for ohmage users. This attribute could be calculated from within ohmage (perhaps just use the numeric id in the MySQL ohmage.user table).