Am Mittwoch, den 22.06.2005, 12:04 +0200 schrieb Bram Lauwers:
> Hello,
> 
> I'm setting up a thin-client kiosk system for a library, they only want 
> to see a browser with the library catalog when the client logs in. I've 
> completed this far and locked down the user enviroment. But to be sure 
> that settings are and will stay as they are, I would like the home dirs 
> of the users to be restored from a backup at each reboot.
> 
> Now I have tried to do this with RCFILE_01= in the lts.conf, but this 
> won't work since the client sees /opt/ltsp/i386 as its root. So I can't 
> acces the /home dir on the server side. Also the user group seems to be 
> unknown.
> 
> Then I tought maybe I could get it done with dhclient-script since that 
> is invoked before pivot_root is changed. But that doesn't seem to work 
> either. I was assuming it used dhclient-script from /etc and not 
> /opt/ltsp/i386/etc. Correct?

First off, I assume you use a different user id on each terminal (else
you probably will run into trouble sooner or later...).

In that case, you would NOT restore them from the client side (1st this
might be unreliable, 2nd this runs over the network, 3rd this
requires /home to be exported r/w which would not be necessary for
regular operation unless using local apps).

In that case, make a file /etc/xinitrd or similar (rtfm for details)
which restores the home directories from /etc/skel/ - that should do the
trick. xinitrc is called on every login, for the user just logging in.

Regards,

Anselm



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_____________________________________________________________________
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