<div dir="ltr">Hi all,<br><br>I'm trying to restrict privileges of root user inside the container. I searched about it and got to know about "idmap" element in domain XML.<br><br>I added "idmap" element in my container's XML file:<br>
<br><div><idmap></div><div>    <uid start='0' target='1000' count='10'/></div><div>    <gid start='0' target='1000' count='10'/></div><div>  </idmap><br>
<br>I restarted the container with updated XML file.<br><br>When I execute "id" command to know if root user inside the container has been mapped with an user from host, i still get output uid as 0<br><br># id -u root<br>
0<br><br>Am I doing the steps right to check the user namespacing? Please help me out with this.<br><br>Thanks in advance,<br><br>Saurabh Deochake.<br>NTT DATA OSS Center, Pune, India</div></div>