Hi,<div><br></div><div>I'm trying to figure out how to use lxc to run a single application as a non-root user.</div><div><br></div><div>The following seems to work, but I'm wondering if there is way to directly instruct lxc to use a certain user rather than using sudo to drop root privileges inside the container:</div>

<div><br></div><div>--------------------------------------------------------------------</div><div>$ xc-start -n my-container -- sudo -u myuser whoami</div><div>myuser</div><div>--------------------------------------------------------------------</div>

<div><br></div><div>Many thanks in advance,<br clear="all"><div><div><span style="font-family:'courier new',monospace">--</span></div></div><div><span style="font-family:'courier new',monospace">Felix Geisendörfer (<a href="http://felixge.de" target="_blank">felixge.de</a>)</span></div>

<div><span style="font-family:'courier new',monospace"></span><span style="font-family:'courier new',monospace">Co-Founder, Debuggable Limited (<a href="http://www.debuggable.com" target="_blank">debuggable.com</a>)</span></div>


</div>