On Wed, May 04, 2011 at 11:04:51AM +0300, Janno Sannik wrote: > I have now set up everything I need except the users. > Can anyone give me a little advice how to get the final stage working: > > I have ~30 thunk clients in hotellrooms. I would like all the users to > be "guest". That means their session (and history, user data) lives only > until logout/reboot. > 1) Should I create some kind of startup file that runs on every logon > that flushes the user home directory or is there some more elegant way?
Years ago, I wrote a patch to the libpam_mkhomedir module that does exactly this. The libpam_mkhomedir module will create a users' home dir and copy everything in from /etc/skel, but, of course, doesn't delete the homedir on logout. The patch outlined here: https://wiki.ubuntu.com/LtspPersistentHome does this. You can either apply the patch yourself, or, contact me off list, and I might be persuaded to build a separate package with a differently named module that will do this, and make it available in my PPA for people. > 2) Is there a workaround for not having separate user for every thin client? No. Graphical desktop environments like KDE or Gnome don't like it when multiple instances are logged in at the same time, let alone programs like Mozilla or Thunderbird. Better (from your point of view) would be to have userid's the same as room numbers. I.e. room203 room1520 etc. That way, a quick "who" on the server would very rapidly tell you who's got their terminal turned on. Just use LTSP's autologin features in the lts.conf file to map userids to terminals. Scott -- Scott L. Balneaves | Try to relax and enjoy the crisis. Systems Department | -- Ashleigh Brilliant Legal Aid Manitoba | ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _____________________________________________________________________ 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
