Skip to content
This repository has been archived by the owner on Apr 26, 2019. It is now read-only.

Can't change user inside container (alpine-3.5) #44

Closed
holms opened this issue Sep 14, 2017 · 0 comments
Closed

Can't change user inside container (alpine-3.5) #44

holms opened this issue Sep 14, 2017 · 0 comments

Comments

@holms
Copy link
Contributor

holms commented Sep 14, 2017

When trying to change user inside container - it doesn't work.

$ docker --tls exec -it 17330814aeea bash
bash-4.3# whoami
root
bash-4.3# su go
su: can't execute ',,,:/home/': No such file or directory
bash-4.3# cat /etc/passwd | grep go
go:x:1000:1000:Linux User,,,:/home/go:,,,:/home/

Where this ,,, comes from?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants