User management scripts
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
Located in /cm/shared/rabbitmq_agents:
-
account_management.py- Controls account state (
ok,hold,certification, etc.) - https://gitlab.rc.uab.edu/rc/rabbitmq_agents/-/blob/main/account_manager.py
source /cm/shared/rabbitmq_agents/venv/bin/activate # change user's state to specified state /cm/shared/rabbitmq_agents/account_manager.py <user> <state> source /cm/shared/rabbitmq_agents/venv/bin/deactivate- To verify (until [this issue] is resolved https://gitlab.rc.uab.edu/rc/rabbitmq_agents/-/issues/163):
user=blazerid; sqlite3 /data/rc/rabbitmq_agents/.agent_db/user_reg.db "select * from user_state where username LIKE '${user}';"; unset user - Controls account state (
-
group_manager.py- Controls Linux group membership
- https://gitlab.rc.uab.edu/rc/rabbitmq_agents/-/blob/main/group_manager.py
source /cm/shared/rabbitmq_agents/venv/bin/activate # add users to group /cm/shared/rabbitmq_agents/group_manager.py -g <group> <user1> <user2> ... # remove users from group /cm/shared/rabbitmq_agents/group_manager.py -d -g <group> <user1> <user2> ... source /cm/shared/rabbitmq_agents/venv/bin/deactivate
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the issue body and the referenced account_manager.py and group_manager.py scripts under /cm/shared/rabbitmq_agents. Clarify which documentation file should contain the account-state, group-membership, activation, and SQLite verification instructions; done means both scripts and their command examples are accurately documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, sqlite
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100