On Sun, Nov 10, 2013 at 05:47:17PM -0500, Todd O'Bryan wrote:
> I'd like to set up a second image for my clients to boot from. In
> particular, several times a year I stay after school and let my
> students play video games, but I don't want the games clogging up the
> normal image that we use for class. I'd also prefer not to have to do
> all the installing and checking on that second image.
> 
> Is there a way to give a non-sudoer user--a student, actually--access
> to just that chroot so that s/he can install everything, and then just
> ask me to run ltsp-update-image when it's time? If not, can the
> student run ltsp-build-image and ltsp-chroot from his/her account to a
> chroot inside his/her home folder, and then when everything's set up,
> can I copy everything to a system-wide location and change ownership
> to root?
> 
> Any insight appreciated.
> 
> Todd

Without the use of complex container technologies, giving root access to
a chroot is essentially equal to giving root access to the host, so
while it's technically possible, I'd very strongly recommend against it.

An alternative would be to have another machine on which you'd be happy
for that student to have root access and copy the chroot there, so they
can modify it, then you copy it back to your server and run
ltsp-update-image on it.


-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to