mobile-shell / mobile-shell/mosh

mosh interacts poorly with PAM

Open
#529 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
14.5k
Forks
865
PR merge metrics
No merged PRs in 30d

Description

Ubuntu 12.04 with the latest updates, Vim version 7.3.429
Mosh server (Ubuntu, amd64), Version: 1.2.4-0931precise1

Mosh client (osx): 1.2.4 (installed via brew)

  • When I ssh to the Ubuntu box, I can run vim and quit vim with no problem.
  • But, when I mosh to the Ubuntu box and run vim, I get this message when I try to quit vim: E138: Can't write viminfo file /home/my_account/.viminfo!

Any idea what is going on here?

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.

Research direction

Start by reproducing the reported Vim behavior on Ubuntu 12.04 under mosh and SSH using the listed versions, then investigate how PAM-related session handling differs. Done means Vim can write /home/my_account/.viminfo when run through mosh, with the behavior covered by a regression test if the project has a suitable test location.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux, ubuntu, vim
Domain
authentication, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.