/usr/bin/keybase logout fails to work from crontab
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 9.2k
- Forks
- 1.3k
- Avg merge
- 12h 58m
- Merged PRs (30d)
- 56
Description
Platform: Ubuntu 17.04
On certain machines, staying logged into keybase at all the times is not desirable. I'd like to automate logout from a crontab. "keybase logout" works just fine if I execute it as my current user. However, if I add it to my current user's crontab, it won't work and returns error code 2.
I presume there's some sort of environment issue going on here, but would really like to make this work. Any thoughts on what needs to take place?
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 reproducing keybase logout interactively and from the current user's crontab on Ubuntu 17.04, comparing the environments and the reported error code 2. Trace the CLI's logout entry point and document the required environment or behavior so the same command succeeds from cron.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- authentication, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100