Discussion:
[Ltsp-discuss] Ltsp-discuss Digest, Vol 123, Issue 13
Angus, Jackie
2016-08-24 13:51:28 UTC
Permalink
I make a copy of all home directories in to /etc/backups/ (auto login usernames)

At boot I have it run a script that copies over the user home directory with the original.


Takes a little longer to boot but was an essential component for a library system so each patron gets a fresh desktop and nothing is saved. Which is exactly what we wanted!



Jackie Angus| Library IT Support
Horry County Government
Horry County Memorial Library – Library Administration
1008 5th Ave, Conway, South Carolina 29526
Tel 843-915-6388| Fax 843-248-1548 | ***@horrycounty.org<mailto:***@horrycounty.org>
www.hcml.org<http://www.hcml.org/>


________________________________
From: ltsp-discuss-***@lists.sourceforge.net <ltsp-discuss-***@lists.sourceforge.net>
Sent: Wednesday, August 24, 2016 8:01 AM
To: ltsp-***@lists.sourceforge.net
Subject: Ltsp-discuss Digest, Vol 123, Issue 13

Send Ltsp-discuss mailing list submissions to
ltsp-***@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
or, via email, send a message with subject or body 'help' to
ltsp-discuss-***@lists.sourceforge.net

You can reach the person managing the list at
ltsp-discuss-***@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ltsp-discuss digest..."


Today's Topics:

1. Re: LTSP FatClient - make home directory not persistent
(Alkis Georgopoulos)
2. Re: LTSP FatClient - make home directory not persistent
(Valtteri Suojanen)
3. Re: LTSP FatClient - make home directory not persistent
(Chris Ditrich)
4. Re: LTSP FatClient - make home directory not persistent
(Chris Ditrich)


----------------------------------------------------------------------

Message: 1
Date: Tue, 23 Aug 2016 15:30:36 +0300
From: Alkis Georgopoulos <***@gmail.com>
Subject: Re: [Ltsp-discuss] LTSP FatClient - make home directory not
persistent
To: ltsp-***@lists.sourceforge.net
Message-ID: <76ff65e8-3c44-b57d-c048-***@gmail.com>
Content-Type: text/plain; charset=UTF-8

Hi Chris,

one good way to implement this would be with an nbd-server cow export
for /home/template-user.
The script that mounts home directories is
/usr/share/ldm/rc.d/X01-localapps, but it would be best to create
another script, e.g. X00-mount-home-template.
I'm available for hire if you need help with it.

Cheers,
Alkis Georgopoulos
LTSP developer
Hello *
I have about 100 fat clients in production environment which have the
same configuration
The configuration is made with one user account and I auto-login each
fat client to this account
but I want to prevent users from making changes to configuration,
because now home directory is mounted via sshfs from the server by each
fat client
and each change in user config/files is visible on each fat client
I've been thinking about using overlayfs and ram/tmpfs to save basic
configuration
so that all local changes will disappear after the reboot
as far as I've learned LTSP don't support such functionality
but is it possible to achieve such scenario with some hacks?
or could you please tell me which script is responsible for
mounting home directories over sshfs?
best,
Chris
------------------------------

Message: 2
Date: Tue, 23 Aug 2016 15:34:15 +0300
From: Valtteri Suojanen <***@gmail.com>
Subject: Re: [Ltsp-discuss] LTSP FatClient - make home directory not
persistent
To: ltsp-***@lists.sourceforge.net
Message-ID:
<CAG5ZcrAa_hE+dUNuVGNpaH+NzDn-G0S31i+Foh3HNCTRLf+***@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi

You did not mention your users or anything about how they use the client
devices .

Autlogin on 100 device sounds like a kiosk environment to me. And
preventing changes sounds like a read only filesystem. There is a screen
script in ltsp package called 'kiosk' that creates a temporary session for
each login but you need to configure it to run a specific program or task.

And there are propably hundred others kiosk setups in the internet you can
apply with or without ltsp

"Kiosk" means that clients should have same service and taste every time.
So you create session on the client environment first as a template and
then you configure it to be used (copied) and mounted on tmpfs and cleanup
it on logout or reboot.

first describe what applications your clients use?

Valtteri
Hello *
I have about 100 fat clients in production environment which have the same
configuration
The configuration is made with one user account and I auto-login each fat
client to this account
but I want to prevent users from making changes to configuration,
because now home directory is mounted via sshfs from the server by each
fat client
and each change in user config/files is visible on each fat client
I've been thinking about using overlayfs and ram/tmpfs to save basic
configuration
so that all local changes will disappear after the reboot
as far as I've learned LTSP don't support such functionality
but is it possible to achieve such scenario with some hacks?
or could you please tell me which script is responsible for
mounting home directories over sshfs?
best,
Chris
------------------------------------------------------------
------------------
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 3
Date: Tue, 23 Aug 2016 18:16:07 +0200
From: Chris Ditrich <***@gmail.com>
Subject: Re: [Ltsp-discuss] LTSP FatClient - make home directory not
persistent
To: ltsp-***@lists.sourceforge.net
Message-ID: <7cae3d53-67d9-7855-a8a0-***@gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed

Thank you Alkis!

for that script I've been looking for, now I should be able to solve my
problem
if not I will get back to you ;)

cheers,
Chris
Hi Chris,
one good way to implement this would be with an nbd-server cow export
for /home/template-user.
The script that mounts home directories is
/usr/share/ldm/rc.d/X01-localapps, but it would be best to create
another script, e.g. X00-mount-home-template.
I'm available for hire if you need help with it.
Cheers,
Alkis Georgopoulos
LTSP developer
Hello *
I have about 100 fat clients in production environment which have the
same configuration
The configuration is made with one user account and I auto-login each
fat client to this account
but I want to prevent users from making changes to configuration,
because now home directory is mounted via sshfs from the server by each
fat client
and each change in user config/files is visible on each fat client
I've been thinking about using overlayfs and ram/tmpfs to save basic
configuration
so that all local changes will disappear after the reboot
as far as I've learned LTSP don't support such functionality
but is it possible to achieve such scenario with some hacks?
or could you please tell me which script is responsible for
mounting home directories over sshfs?
best,
Chris
------------------------------------------------------------------------------
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
------------------------------

Message: 4
Date: Tue, 23 Aug 2016 18:32:24 +0200
From: Chris Ditrich <***@gmail.com>
Subject: Re: [Ltsp-discuss] LTSP FatClient - make home directory not
persistent
To: ltsp-***@lists.sourceforge.net
Message-ID: <f2fe41d5-2c55-21a9-5065-***@gmail.com>
Content-Type: text/plain; charset="windows-1252"

Hi Valtteri,

yes, I've been thinking about using 'kiosk' but it not exactly matches
my profile
to be honest my configuration is a little bit weird ;)
the idea is to have configuration on the server and manage it from the
server (using puppet maybe) so I will not have to rebuild ltsp image
each time it changes

but with the hints from Alkis I think I will be able to achieve what I want

best,
Chris
Hi
You did not mention your users or anything about how they use the
client devices .
Autlogin on 100 device sounds like a kiosk environment to me. And
preventing changes sounds like a read only filesystem. There is a
screen script in ltsp package called 'kiosk' that creates a temporary
session for each login but you need to configure it to run a specific
program or task.
And there are propably hundred others kiosk setups in the internet
you can apply with or without ltsp
"Kiosk" means that clients should have same service and taste every
time. So you create session on the client environment first as a
template and then you configure it to be used (copied) and mounted on
tmpfs and cleanup it on logout or reboot.
first describe what applications your clients use?
Valtteri
Hello *
I have about 100 fat clients in production environment which have
the same configuration
The configuration is made with one user account and I auto-login
each fat client to this account
but I want to prevent users from making changes to configuration,
because now home directory is mounted via sshfs from the server by
each fat client
and each change in user config/files is visible on each fat client
I've been thinking about using overlayfs and ram/tmpfs to save
basic configuration
so that all local changes will disappear after the reboot
as far as I've learned LTSP don't support such functionality
but is it possible to achieve such scenario with some hacks?
or could you please tell me which script is responsible for
mounting home directories over sshfs?
best,
Chris
------------------------------------------------------------------------------
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
<https://lists.sourceforge.net/lists/listinfo/ltsp-discuss>
For additional LTSP help, try #ltsp channel on irc.freenode.net
<http://irc.freenode.net>
------------------------------------------------------------------------------
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

------------------------------------------------------------------------------


------------------------------

_____________________________________________________________________
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


End of Ltsp-discuss Digest, Vol 123, Issue 13
*********************************************



****


All e-mail correspondence to and from this address may be subject to public disclosure under the South Carolina Freedom of Information Act (FOIA). This correspondence is intended exclusively for the individual or entity to which it is addressed and may contain information that is proprietary, privileged, confidential or otherwise legally exempt from disclosure
Loading...