pcdshub / pcdshub/engineering_tools
Add a kinit helper to check when kinit needs to be run
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 5
- Forks
- 36
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 3
Description
Expected Behavior
There should be a script you can run either standalone or inside other scripts to check whether your kerberos tickets are set up properly. This may also run kinit/aklog for you.
Current Behavior
No such script exists
Possible Solution
- Parse the output of klist
- Run klist -s and check for nonzero exit status
Context
https://github.com/pcdshub/engineering_tools/pull/146#discussion_r1119272281
kerberos tickets are how we:
- manage write access to afs
- manage password-free logins between servers
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 with the discussion linked from PR #146 and review how the repository's scripts are organized. Define a standalone and reusable check around klist output or klist -s, with optional kinit/aklog behavior; done means it reliably identifies missing or invalid Kerberos tickets for AFS and password-free server logins.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- authentication, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100