diff options
| author | Percy Wegmann <percy@tailscale.com> | 2024-04-28 20:57:00 -0500 |
|---|---|---|
| committer | Percy Wegmann <percy@tailscale.com> | 2024-04-28 20:57:00 -0500 |
| commit | 62c8ed7d73817cf2e50f7447d2bc13a98ac64570 (patch) | |
| tree | 476f283b0411ca62a754588a661d312f52607f44 /ssh/tailssh/testcontainers/Dockerfile | |
| parent | 6537f351a13b9baca8f8383d1567a827e7d58fa0 (diff) | |
| download | tailscale-ox/11954-3.tar.xz tailscale-ox/11954-3.zip | |
WIPox/11954-3
Signed-off-by: Percy Wegmann <percy@tailscale.com>
Diffstat (limited to 'ssh/tailssh/testcontainers/Dockerfile')
| -rw-r--r-- | ssh/tailssh/testcontainers/Dockerfile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ssh/tailssh/testcontainers/Dockerfile b/ssh/tailssh/testcontainers/Dockerfile index 050bc7f3f..5ed50ee93 100644 --- a/ssh/tailssh/testcontainers/Dockerfile +++ b/ssh/tailssh/testcontainers/Dockerfile @@ -3,6 +3,10 @@ FROM ${BASE} RUN groupadd -g 10000 groupone RUN groupadd -g 10001 grouptwo -RUN useradd -g 10000 -G 10001 -u 10002 -m testuser +RUN useradd -g 10000 -G 10001 -u 10002 testuser +RUN sed -i -e 's/Default: no/Default: yes/g' /usr/share/pam-configs/mkhomedir || echo "might not be ubuntu" +RUN cat /usr/share/pam-configs/mkhomedir || echo "might not be ubuntu" +RUN pam-auth-update --enable mkhomedir || echo "might not be ubuntu" +RUN authconfig --enablemkhomedir --update || echo "might not be fedora" COPY . . RUN TAILSCALED_PATH=`pwd`tailscaled ./tailssh.test -test.run TestIntegration |
