-2

I want to create namespaces with and without the privilege and need to study the implications if the namespace creation is restricted only for the privileged users.

How to create a user namespace in Ubuntu 18.04LTS. Which command I should use?

AdminBee
  • 22,803
Franc
  • 289
  • What goal do you want to achieve by introducing a namespace? – Philippos Jun 10 '22 at 07:47
  • @Philippos, I want to create namespaces with and without the privilege and need to study the implications if the namespace creation is restricted only for the privileged users. – Franc Jun 10 '22 at 09:12
  • 2
    Generally, the answer to "how do I create a namespace?" is unshare. – larsks Jun 10 '22 at 12:28

1 Answers1

0

unshare -U creates a user name space and unshare -n create a network namespace

Franc
  • 289