diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-10-12 08:31:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-12 08:31:56 -0700 |
commit | b0b6dc40bd916698f87bc68f7b4b603582e93ef2 (patch) | |
tree | 44c98351368924013f8a27e3f7c1f66c0953b08c /pkg/chrootuser/user_basic.go | |
parent | 9a933c70b1cf60c48211bc700d726074aa4536a0 (diff) | |
parent | 04a537756d9b7b526759c02b5b5d68c135b210ea (diff) | |
download | podman-b0b6dc40bd916698f87bc68f7b4b603582e93ef2.tar.gz podman-b0b6dc40bd916698f87bc68f7b4b603582e93ef2.tar.bz2 podman-b0b6dc40bd916698f87bc68f7b4b603582e93ef2.zip |
Merge pull request #1558 from rhatdan/user
Generate a passwd file for users not in container
Diffstat (limited to 'pkg/chrootuser/user_basic.go')
-rw-r--r-- | pkg/chrootuser/user_basic.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/chrootuser/user_basic.go b/pkg/chrootuser/user_basic.go index 4ed7918e9..79b0b24b5 100644 --- a/pkg/chrootuser/user_basic.go +++ b/pkg/chrootuser/user_basic.go @@ -21,3 +21,7 @@ func lookupGroupForUIDInContainer(rootdir string, userid uint64) (string, uint64 func lookupAdditionalGroupsForUIDInContainer(rootdir string, userid uint64) (gid []uint32, err error) { return nil, errors.New("supplemental groups list lookup by uid not supported") } + +func lookupUIDInContainer(rootdir string, uid uint64) (string, uint64, error) { + return "", 0, errors.New("UID lookup not supported") +} |