3 ms·
I'm quite interested in the user namespaces feature, but can't come up with any use cases for myself other than say sandboxing (sort of) applications. Can anyon
by girvo 14y ago
I'm quite interested in the user namespaces feature, but can't come up with any use cases for myself other than say sandboxing (sort of) applications. Can anyone explain it a bit better? The lwn article is a bit heavy going
- FooBarWidget 14y agoIt was primarily designed for sandboxing, so it's not strange that you cannot come up with other use cases.
- girvo 14y agoThat... Would make sense then. Now I feel stupid ;)
- gioele 14y agoWhat about this other LWN article "A new approach to user namespaces": https://lwn.net/Articles/491310/ https://lwn.net/Articles/491310/ ? > It allows for applications with no capabilities to use multiple uids and to implement privilege separation. I certainly see user namespaces like this as having the potential to make linux systems more secure.
- Zigurd 14y agoI don't know enough about the feature to say if it is applicable directly, but Android uses uid/gid to create sandboxes on a per-publisher basis, so that installed apps do not have access to other publishers' apps' files. This can be used in two ways: Application security, in general, would benefit from this practice, and if you are creating a Linux that can be both a traditional "desktop Linux" as well as running the Android environment, this is a useful feature for enabling Android app security to remain secure, which it wouldn't if you did user namespace separation merely by convention.
- shykes 14y agoHere's one use case: http://docker.io http://docker.io