Rechercher une page de manuel

Chercher une autre page de manuel:


Langue: en

Autres versions - même langue

Version: OCTOBER 2008 (fedora - 01/12/10)

Autres sections - même nom

Section: 1 (Commandes utilisateur)


unshare - run program with some namespaces unshared from parent


unshare [options] program [arguments]


Unshares specified namespaces from parent process and then executes specified program. Unshareable namespaces are:
mount namespace
mounting and unmounting filesystems will not affect rest of the system (CLONE_NEWNS flag),
UTS namespace
setting hostname, domainname will not affect rest of the system (CLONE_NEWUTS flag),
IPC namespace
process will have indpendent namespace for System V message queues, semaphore sets and shared memory segments (CLONE_NEWIPC flag),
network namespace
process will have independent IPv4 and IPv6 stacks, IP routing tables, firewall rules, the /proc/net and /sys/class/net directory trees, sockets etc. (CLONE_NEWNET flag).
See the clone(2) for exact semantics of the flags.


-h, --help
Print a help message,
-m, --mount
Unshare the mount namespace,
-u, --uts
Unshare the UTC namespace,
-i, --ipc
Unshare the IPC namespace,
-n, --net
Unshare the network namespace.


The unshare command drops potential privileges before executing the target program. This allows to setuid unshare.


unshare(2), clone(2)


None known so far.


Mikhail Gusarov <>


The unshare command is part of the util-linux-ng package and is available from
meme ke moloss il a un alias
il tape /mortderire
et ca ecrit <moloss> mdr
-+- Big-Toof in GPJ: Les alias les plus courts sont les meilleurs -+-