*BSD News Article 6153


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!uwm.edu!caen!uunet!mcsun!sun4nl!tuegate.tue.nl!svin09!wzv!gvr.win.tue.nl!guido
From: guido@gvr.win.tue.nl (Guido van Rooij)
Newsgroups: comp.unix.bsd
Subject: uid's under Xfree
Message-ID: <3957@wzv.win.tue.nl>
Date: 7 Oct 92 19:37:14 GMT
Sender: news@wzv.win.tue.nl
Organization: Guido's home 486 box
Lines: 12

I noticed a strange behaviour when i did a talk to another user on my machine.
I was logged on using X, under xdm, say as user 'foo'. However when i did
that talk request, talk said: respond with talk root@<machine>
I dont know where exactly talk gets its uid from, but something serious
is wrong here. Maybe I gave the wrong programs an suid bit...
The programs involved are xdm, X386 and xterm. Only X386 and xterm have sbits
set. Isn't this correct? 
The output of id  also seems correct (it doesn't say i have uid 0).

Can anyone explain this?

-Guido