You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our containers we use a canned /etc/passwd and /etc/group, just so every user (but only below id 60000) can have a name and be looked up.
We'd be a lot better to actually create the user user useradd or the like on login, then use the actual id. That would allow us to use high windows and mac uids without strain. And it would leave room in the container for when people add a package that creates a user.
So:
Use default /etc/passwd and /etc/group
Dynamically create user on container startup, with same name and id and primary group and the host user.
The text was updated successfully, but these errors were encountered:
rfay
changed the title
Rework containers to create the current user dynamically instead of using canned /etc/passwd
Rework containers to create the current user dynamically instead of using canned /etc/passwd and /etc/group
Apr 3, 2019
In our containers we use a canned /etc/passwd and /etc/group, just so every user (but only below id 60000) can have a name and be looked up.
We'd be a lot better to actually create the user user useradd or the like on login, then use the actual id. That would allow us to use high windows and mac uids without strain. And it would leave room in the container for when people add a package that creates a user.
So:
The text was updated successfully, but these errors were encountered: