tremplin: PasswdDatabase access filesystem directly instead of via LXD

Per linked bug, going through LXD for filesystem access sometimes
introduces errors we can't catch. Since we're running as root and on the
same device, access the filesystem directly instead of going through LXD
+ HTTP.

BUG=chromium:1241710
TEST=Create user, log in to existing user. Check files + permissions inside container

Change-Id: I6d5e88c16032d2b5e2767cead627d015f55be9b9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tremplin/+/3128561
Reviewed-by: Fergus Dall <sidereal@google.com>
Commit-Queue: David Munro <davidmunro@google.com>
Tested-by: David Munro <davidmunro@google.com>
7 files changed
tree: 14b3f006b2aff2315d4ae5390cce7bae39de714b
  1. src/
  2. .gitignore
  3. OWNERS
  4. README.md
README.md

Tremplin

Tremplin is the "springboard" daemon that runs in the Termina VM and exposes a gRPC interface for managing LXD containers.