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


Channel log from 29 May 2016   (all times are UTC)

00:10ogra_ has left IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de, Ping timeout: 272 seconds)
00:10ogra_ has joined IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de)
00:16vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Ping timeout: 258 seconds)
00:17vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
03:50vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
06:52ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
09:43Phantomas has joined IRC (Phantomas!~ftsamis@ubuntu/member/phantomas)
14:19GodFather has joined IRC (GodFather!~rcc@2600:1007:b004:b0ec:8505:c112:ea94:dc9c)
14:28GodFather has left IRC (GodFather!~rcc@2600:1007:b004:b0ec:8505:c112:ea94:dc9c, Quit: Ex-Chat)
14:29GodFather has joined IRC (GodFather!~rcc@2600:1007:b004:b0ec:8505:c112:ea94:dc9c)
14:30GodFather has left IRC (GodFather!~rcc@2600:1007:b004:b0ec:8505:c112:ea94:dc9c, Remote host closed the connection)
14:32GodFather has joined IRC (GodFather!~rcc@2600:1007:b004:b0ec:e89f:19ab:ad95:c468)
14:59vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
15:29GodFather has left IRC (GodFather!~rcc@2600:1007:b004:b0ec:e89f:19ab:ad95:c468, Ping timeout: 250 seconds)
17:37
<sbalneav>
Huh. Found out a problem with python.
17:38
In C, when you call setuid or setgid, you simply pass the uidnum or gidnum, and it's done.
17:39
Which means, you can setuid or gid to a number that doesn't have a corresponding /etc/passwd or /etc/group entry
17:39
Which is what we want, because we need to setuid to the user for the ssh tunnel before we can bring over the passwd and group entries.
17:40
however, python insists that uid or gid *have* passwd and group entries.
17:40
So I'll have to write a python module that doesn't do the check.
17:40
Nothing is easy, said the elephant to his mistress the mouse.
17:40
<quinox>
you can always use check_call
17:47
<sbalneav>
setuid isn't an external program, it's a library routine.
18:08vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
18:09Phantomas1 has joined IRC (Phantomas1!~ftsamis@ubuntu/member/phantomas)
18:10Phantomas has left IRC (Phantomas!~ftsamis@ubuntu/member/phantomas, Ping timeout: 276 seconds)
18:31ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
19:08Phantomas1 has left IRC (Phantomas1!~ftsamis@ubuntu/member/phantomas)
20:04vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
20:35
<sbalneav>
Ah, the problem's not in setuid
20:35
it's in nss.
20:35
ssh won't start without uid and gid entries.
21:16
<quinox>
chown also takes uids - I sometimes have to fix stuff that way when the LDAP and /etc/passwd pick the same ID for different users
21:17
(useradd and adduser do totally different things... and I usually end up using the wrong one by mistake -_-)
21:21GodFather has joined IRC (GodFather!~rcc@2600:1007:b017:7d10:d143:ed66:df2:587c)
23:11GodFather has left IRC (GodFather!~rcc@2600:1007:b017:7d10:d143:ed66:df2:587c, Ping timeout: 260 seconds)