# uts_namespaces(7) - man - phpMan

[UTS_NAMESPACES(7)](https://www.chedong.com/phpMan.php/man/UTSNAMESPACES/7/markdown)                     Linux Programmer's Manual                    [UTS_NAMESPACES(7)](https://www.chedong.com/phpMan.php/man/UTSNAMESPACES/7/markdown)



## NAME
       uts_namespaces - overview of Linux UTS namespaces

## DESCRIPTION
       UTS  namespaces  provide isolation of two system identifiers: the hostname and the NIS domain
       name.  These identifiers are set using [**sethostname**(2)](https://www.chedong.com/phpMan.php/man/sethostname/2/markdown) and [**setdomainname**(2)](https://www.chedong.com/phpMan.php/man/setdomainname/2/markdown), and  can  be  re‐
       trieved  using [**uname**(2)](https://www.chedong.com/phpMan.php/man/uname/2/markdown), [**gethostname**(2)](https://www.chedong.com/phpMan.php/man/gethostname/2/markdown), and [**getdomainname**(2)](https://www.chedong.com/phpMan.php/man/getdomainname/2/markdown).  Changes made to these identi‐
       fiers are visible to all other processes in the same UTS namespace, but are  not  visible  to
       processes in other UTS namespaces.

       When a process creates a new UTS namespace using [**clone**(2)](https://www.chedong.com/phpMan.php/man/clone/2/markdown) or [**unshare**(2)](https://www.chedong.com/phpMan.php/man/unshare/2/markdown) with the **CLONE**___**NEWUTS**
       flag, the hostname and domain of the new UTS namespace are copied from the corresponding val‐
       ues in the caller's UTS namespace.

       Use of UTS namespaces requires a kernel that is configured with the **CONFIG**___**UTS**___**NS** option.

## SEE ALSO
       [**nsenter**(1)](https://www.chedong.com/phpMan.php/man/nsenter/1/markdown),  [**unshare**(1)](https://www.chedong.com/phpMan.php/man/unshare/1/markdown),  [**clone**(2)](https://www.chedong.com/phpMan.php/man/clone/2/markdown), [**getdomainname**(2)](https://www.chedong.com/phpMan.php/man/getdomainname/2/markdown), [**gethostname**(2)](https://www.chedong.com/phpMan.php/man/gethostname/2/markdown), [**setns**(2)](https://www.chedong.com/phpMan.php/man/setns/2/markdown), [**uname**(2)](https://www.chedong.com/phpMan.php/man/uname/2/markdown), **un**‐‐
       [**share**(2)](https://www.chedong.com/phpMan.php/man/share/2/markdown), [**namespaces**(7)](https://www.chedong.com/phpMan.php/man/namespaces/7/markdown)

## COLOPHON
       This page is part of release 5.10 of the Linux  _man-pages_  project.   A  description  of  the
       project,  information about reporting bugs, and the latest version of this page, can be found
       at <https://www.kernel.org/doc/man-pages/>.



Linux                                        2019-11-19                            [UTS_NAMESPACES(7)](https://www.chedong.com/phpMan.php/man/UTSNAMESPACES/7/markdown)
