IRC chat logs for #ltsp on irc.libera.chat (webchat)


Channel log from 4 July 2023   (all times are UTC)

00:13shored has left IRC (shored!~shored@user/shored, Ping timeout: 240 seconds)
00:16shored has joined IRC (shored!~shored@user/shored)
00:25XYZ has left IRC (XYZ!~XYZ@78-80-114-131.customers.tmcz.cz, Ping timeout: 246 seconds)
02:19book` has left IRC (book`!~book`@static.38.6.217.95.clients.your-server.de, Server closed connection)
02:20book` has joined IRC (book`!~book`@static.38.6.217.95.clients.your-server.de)
03:55XYZ has joined IRC (XYZ!~XYZ@37-48-50-214.nat.epc.tmcz.cz)
04:30Vercas has left IRC (Vercas!~Vercas@gateway/tor-sasl/vercas, Quit: buh bye)
04:31Vercas has joined IRC (Vercas!~Vercas@gateway/tor-sasl/vercas)
05:19wyre is back
05:48ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
06:05wyre is now away: Auto away at Tue Jul 4 06:03:41 2023 UTC
07:33XYZ has left IRC (XYZ!~XYZ@37-48-50-214.nat.epc.tmcz.cz, Ping timeout: 250 seconds)
07:45XYZ has joined IRC (XYZ!~XYZ@78-80-113-63.customers.tmcz.cz)
08:25XYZ has left IRC (XYZ!~XYZ@78-80-113-63.customers.tmcz.cz, Remote host closed the connection)
08:37wyre is back
08:38XYZ has joined IRC (XYZ!~XYZ@78-80-113-63.customers.tmcz.cz)
09:49
<toa[m]>
Ok, thanks!
10:32wyre is now away: Auto away at Tue Jul 4 10:29:53 2023 UTC
11:07wyre is back
11:44err404[m] has left IRC (err404[m]!~err404mat@2001:470:69fc:105::444, Server closed connection)
11:44err404[m] has joined IRC (err404[m]!~err404mat@2001:470:69fc:105::444)
16:18wyre is now away: Auto away at Tue Jul 4 16:16:34 2023 UTC
16:19vagrantc has joined IRC (vagrantc!~vagrant@2600:3c01:e000:21:7:77:0:50)
19:12woernie has joined IRC (woernie!~werner@p200300dc0f47eaa832ceb3bd25288380.dip0.t-ipconnect.de)
19:38wyre is back
20:03woernie has left IRC (woernie!~werner@p200300dc0f47eaa832ceb3bd25288380.dip0.t-ipconnect.de, Remote host closed the connection)
20:55ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
21:36XYZ has left IRC (XYZ!~XYZ@78-80-113-63.customers.tmcz.cz, Ping timeout: 246 seconds)
21:59uibsysadmin has joined IRC (uibsysadmin!~uibsysadm@206.204.136.92)
22:00
<uibsysadmin>
Hi
22:01
I have a question about LTSP and I think this is the place to ask it, right?
22:03
I would like to create an image (chrooted) in which the users and passwords created in it are kept.
22:04
That is, the passwd, shadow, etc. files will not be modified.
22:05
Is it possible to get what I am asking for? Thank you!
22:09
<vagrantc>
uibsysadmin: my first question would be why do you want to do that?
22:11
embedding the users and passwords in the image has security implications ... anyone on your network will have access to that information
22:17uibsysadmin has left IRC (uibsysadmin!~uibsysadm@206.204.136.92, Quit: Ping timeout (120 seconds))
22:18uibsysadmin has joined IRC (uibsysadmin!~uibsysadm@206.204.136.92)
22:19
<uibsysadmin>
Hi, vagrantc. Thanks for your quick response
22:22
<vagrantc>
there may be some other way of accomplishing your goals...
22:22
<uibsysadmin>
Our clients must autologin and display only one web page in full screen. There are no more applications, no more documents to save, and once the pc is turned off, everything is deleted.
22:22
<vagrantc>
so basically a kiosk sort of setup
22:23
<uibsysadmin>
Exactly!
22:23
How?
22:23
<vagrantc>
you shouldn't need any passwords at all, then ... just write some hooks to add your user at boot
22:23
and configure it for autologin...
22:24
https://ltsp.org/man/ltsp.conf/ search for autologin ... for the autologin part
22:25uibsysadmin has left IRC (uibsysadmin!~uibsysadm@206.204.136.92, Quit: Client closed)
22:26
<vagrantc>
probably add an FSTAB_x entry to mount the homedir as tmpfs ... a POST_INIT_x to add the user ...
22:27uibsysadmin has joined IRC (uibsysadmin!~uibsysadm@206.204.136.92)
22:30
<uibsysadmin>
AUTOLOGIN="user01"
22:30
That easy?
22:31
Without creating users neither in the server nor in the image? :O
22:36
<vagrantc>
see the part about FSTAB... and POST_INIT...
22:38
or maybe you don't need the FSTAB bit ... just something like POST_INIT_USER01=adduser --disabled-password --gecos ,,, user01
22:38
that might populate /home/user01 sufficiently that it will not try to mount /home via sshfs
22:38
otherwise, you might have to mount /home as tmpfs or something
22:41
<uibsysadmin>
What if the user and his home are already created in the image? Is that enough?
22:42
<vagrantc>
that could work, but then you have to workaround the fact that ltsp deletes all that :)
22:42
which may be possible ... but why do you need that?
22:43
easier to paddle with the river than against it
22:44
<uibsysadmin>
What solution would you use?
22:45
<vagrantc>
set AUTOLOGIN and POST_INIT_USER01 in ltsp.conf ... and maybe an FSTAB_XX entry as well, if needed
22:46
<uibsysadmin>
I only need a browser that displays a web page, and little else.
22:46
<vagrantc>
yes?
22:46
<uibsysadmin>
Yeep
22:47
<vagrantc>
you'll need to crate a custom .desktop file for that user as well, probably ...
22:47
to be able to specify your webbrowser-only environment ... but that is a more complicated subject
22:47
first just get autologin and user creation from ltsp.conf working, then move on to more complicated things
22:48
<uibsysadmin>
Don't worry about that! Is resolved yet! :D
22:48
My clients are VDI thinclients.
22:49
<vagrantc>
like i say, get the basics working first ... move onto more complicated stuff once you have that
22:50
<uibsysadmin>
Thanks a lot, vagrant. I will put your advice into practice tomorrow. Now it's time to sleep. It's too late!
22:50
;)
22:51
<vagrantc>
there are other people around earlier in the day too :)
22:51
usually
22:57uibsysadmin has left IRC (uibsysadmin!~uibsysadm@206.204.136.92, Quit: Client closed)
22:57wyre is now away: Auto away at Tue Jul 4 22:54:46 2023 UTC