Linux Server Admin with Fexingo: Sysadmin, Bash, and Server Engineering

How to Use Linux Namespaces for User Isolation


Listen Later

In this episode of Linux Server Admin, Lucas and Luna dive into Linux namespaces for user isolation — a key technique for securing multi-tenant servers and containers. They explain how user namespaces map unprivileged UIDs to root inside a container, preventing container breakouts. Lucas walks through a practical example: creating a user namespace with unshare, mapping UIDs, and running a shell as 'root' inside the namespace without real privileges. They discuss real-world use cases like running legacy applications or multi-user development environments without risking the host. The episode also touches on common pitfalls, such as improper UID mapping that can allow privilege escalation. Packed with actionable commands and insights, this is essential for any sysadmin hardening Linux servers.

#Linux #Sysadmin #Namespaces #UserIsolation #ContainerSecurity #Unshare #UIDMapping #ServerHardening #MultiTenant #PrivilegeEscalation #Technology #LinuxServerAdmin #FexingoBusiness #BusinessPodcast #Podcast #DevOps #Security #Bash

Keep every episode free: buymeacoffee.com/fexingo

...more
View all episodesView all episodes
Download on the App Store

Linux Server Admin with Fexingo: Sysadmin, Bash, and Server EngineeringBy Fexingo