Hi,
when I run systemd-nspawn, I become root user inside of that container.
If I want to become specific user inside of that container, I have to do
something like:

/usr/bin/systemd-nspawn -D foo /bin/su -l mockbuild -c 'rpmbuild -root
\'/build\' ...'

which quickly go into escape-hell.

Is there some better way to became specific user in container? Is it
worth filing RFE? Because I'm afraid that becoming specific user depends
on content of container and systemd-nspawn itself can not do much here.
Correct?

Mirek
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to