<div dir="ltr"><div><div><div><div>Hi, all!<br><br></div>I'm trying to reproduce steps in <a href="https://www.stgraber.org/2014/01/17/lxc-1-0-unprivileged-containers/">https://www.stgraber.org/2014/01/17/lxc-1-0-unprivileged-containers/</a>. Everything goes well except for sudo producing error:<br>
<br>sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?<br><br></div>I'm using updated ubuntu 14.04 distro.<br><br></div>
OTOH, when I use lxc-attach, I get the root shell in container and I can execute necessary commands (such as apt-get). But it's not as convenient, I'd prefer to use sudo.<br><br></div><div>What is my mistake?<br></div>
I failed to google relevant info, so I ask here. Thanks in advance.<br></div>