On Tue, 22 Jan 2008, J. Paul Bissonnette wrote:

> The cure is quite simple, why it happens is a mystery.
>
> Cure: rename the clients folder. deluser <client> add the user again
> copy only files that have nothing to do with XFCE  or GNOME

Yep. I have a simple desktop setup for our students. I think that only the 
folders .config and .local are related to xfce4, and maybe .dmrc 
if gdm is used.

It is very easy to regenerate the students' homes:

#!/bin/sh
cd /home || exit 1
for i in student*; do
     echo $i
     rm -rf $i && mkdir $i && cd $i && tar xfz ../sample_home.tgz
# every student is in the lab group
     cd /home && chown -R $i.lab $i
# to prevent the accidental removal of .ssh and authorized_keys in it
# maybe .ssh should contain a known_hosts writeable by the student user
     chown 0 $i/.ssh $i/.ssh/authorized_keys
done

--
Zsolt

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_____________________________________________________________________
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