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


Channel log from 11 February 2023   (all times are UTC)

02:10vagrantc has joined IRC (vagrantc!~vagrant@2600:3c01:e000:21:7:77:0:40)
03:26wyre is back
07:40vagrantc has left IRC (vagrantc!~vagrant@2600:3c01:e000:21:7:77:0:40, Quit: leaving)
07:56wyre is now away: Auto away at Sat Feb 11 07:56:34 2023 UTC
08:13ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
08:35alkisg_irc has left IRC (alkisg_irc!~Thunderbi@srv1-dide.ioa.sch.gr, Quit: alkisg_irc)
08:45alkisg_irc has joined IRC (alkisg_irc!~Thunderbi@2a02:587:7456:4800:9ea2:f4ff:feb9:a8b0)
12:23
<err404[m]>
Hello,... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/22035a79c433b35f5f63f22caec78e4016f24bba>)
12:24
<alkisg>
err404: invalid passwd/shadow for root means your /etc/shadow is broken manually
12:24
Did you try setting the root hash, and failed?
12:24
If you have a broken /etc/shadow, it might break all logins...
12:25
<err404[m]>
ok, thanks
12:27
how I can display the file /etc/shadow when starting (and eventually add sleep 10s) at boot?
12:34
I will install rc.local and make some try 😛
12:35woernie has joined IRC (woernie!~werner@2001:9e8:e276:3c00:ea8c:160:d942:cd8a)
13:04woernie has left IRC (woernie!~werner@2001:9e8:e276:3c00:ea8c:160:d942:cd8a, Ping timeout: 252 seconds)
13:07ogra is back
13:32wyre is back
13:46
<alkisg>
POST_INIT_SHADOW="head /etc/shadow; sleep 10"
13:48
err404: don't put the 19398:.... part in the sed line, because the way you have it there, it will result in duplicate fields, e.g. 14 fields instead of 7 or so
13:49
So use something like sed -i 's|^root:[^:]*:|root:$y$xxxxxxxx:|' /etc/shadow
13:49
See the last example in man ltsp.conf, there are no expiry information in that example
14:06
<err404[m]>
thanks
14:06
I will try the POST_INIT and fix my ltsp.conf about password
14:16
yes, it work for password. (and also for POST_INIT)
14:16
the only issue: there is no home directory, /home is empty. (so the graphical environement back to login greeter after successfull password)
14:16
but I will use sshfs or someting like this
14:17
the login in console is working, sudo is also working
15:29
<alkisg>
When you set a password in shadow, the user is local, not remote. So you can't use sshfs then.
15:30
Then, you can only use nfs, a local disk, or a tmpfs
18:49
<err404[m]>
ok, I understand why PASSWORDS_x has no effects (password already defined in shadow), I will try to use only PASSWORDS_x in goal to use sshfs home for users
19:08
<alkisg>
err404: what's your goal? PASSWORDS_x is mainly used to set up AUTOLOGIN or passwordless login guests or untrained users
19:08
<err404[m]>
I want use sshfs for /home
19:08
<alkisg>
OK, just type the username and password when you login, and sshfs will be used
19:08
Why do you want to set PASSWORDS_X?
19:09
<err404[m]>
I want only use sshfs, 😛
19:09
<alkisg>
Yes, by default LTSP uses only SSHFS, nothing else
19:10
<err404[m]>
yes, but I was stucked by the missed /etc/shadow so, I keept in mind some others ways
19:10
<alkisg>
SSHFS doesn't need an /etc/shadow. It uses SSH for authentication, not shadow
19:11
<err404[m]>
yes, as you wrote few minutes ago
19:11
<alkisg>
If I understood you correctly, you want the default LTSP setup, but something is misconfigured, so you're trying to apply weird workarounds instead of solving the problem?
19:12
<err404[m]>
* minutes ago, if I define user in /etc/shadow it will become local user and there is no sshfs for this user
19:12
yes, you understood well
19:12
<alkisg>
Do you want help to solve the problem?
19:13
<err404[m]>
it is the last issue for the moment, but I am not at my home now, I cannot try until few hours, or may be tomorow
19:13
<alkisg>
OK
20:06sugarbeet is back
20:07sugarbeet is now away: [tmux detached]
20:12sugarbeet is back
20:12sugarbeet is now away: [tmux detached]
20:13sugarbeet is back
20:13sugarbeet is now away: [tmux detached]
20:19sugarbeet is back
20:19sugarbeet is now away: [tmux detached]
21:07sugarbeet is back
21:07sugarbeet is now away: [tmux detached]
21:15sugarbeet is back
21:16sugarbeet is now away: [tmux detached]
21:16sugarbeet is back
21:16sugarbeet is now away: [tmux detached]
22:34vagrantc has joined IRC (vagrantc!~vagrant@2600:3c01:e000:21:7:77:0:20)
22:37ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)