Re: [PATCH] unshare: Add possibility to add mapping into root user in user namespace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 27, 2013 at 10:14:48PM +0100, Lubomir Rintel wrote:
> $ unshare --uts
> unshare: unshare failed: Operation not permitted
> 
> $ unshare --user --uts
> [nfsnobody@odvarok ~]$ hostname swag
> hostname: you must be root to change the host name
> 
> $ unshare -r --uts
> [root@odvarok util-linux]# hostname swag
> [root@odvarok util-linux]#

 Applied with some minor changes, thanks. It's really nice simplification.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux