Identifying researchers who do not have RC accounts (on Cheaha)

Open
#30 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
shell
Domain
devops

Research direction

Start with the shell snippet in the issue, especially the username normalization and getent passwd check. Clarify the expected input and output for identifying researchers without Cheaha accounts; done should be a documented or runnable check that reliably reports missing accounts.

Written by the indexing model from the issue text.

Description

From Mike

users='wwarr mhanby, cmclung, ravi89'  # misspelling on purpose
users="`echo ${users} | tr '[:upper:]' '[:lower:]' | tr '\n' ' ' | tr ',' ' ' | tr -s ' '`"

for user in $(echo $users); do
  if ! getent passwd $user 1>/dev/null ; then
    echo $user does not exist;
  fi
done
Dominant language
Python
Stars
1
Forks
9
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from uabrc/devops-docs

All issues in uabrc/devops-docs

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.