[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 3 mal angemeldet?



Hallo,

Thus spoketh Gerhard Schromm <gschromm-spam@arcor.de> 
unto us on Fri, 10 Dec 2010 22:02:35 +0100:

> On 10 Dec 2010, Michael Lange stated:
> > Thus spoketh Gerhard Schromm <gschromm-spam@arcor.de> 
> 
> >> Mit dem Kommando 'w' bekommst du eine detailliertere Ausgabe, dann
> >> wirst du feststellen, daß neben der X-Session unter anderen jedes
> >> xterm (konsole,rxvt usw) als user zählt. Genau genommen alles was
> >> ein tty oder pts belegt.
> > Seltsamerweise bei mir nur das xterm od. gnome-terminal, xvt, rxvt und
> > urxvt *nicht* (o_O)
> 
> Ich muß zugeben, das ich das nicht getestet habe, sondern einfach davon
> ausgegangen bin, daß (u)rxvt sich wie die anderen Terminalprogramme
> verhält.

Bei genauerer Betrachtung von man rxvt finde ich:

urxvt tries to write an entry into the utmp(5) file so that it can be
seen via the who(1) command, and can accept messages. To allow this
feature, urxvt may need to be installed setuid root on some systems or
setgid to root or to some other group on others. 

Und tatsächlich:

-rwxr-xr-x 1 root   root    1224176 26. Okt 2008  urxvt
-rwxr-sr-x 1 root   utmp     329008  4. Jan 2009  xterm

Aha, so ist das also...

Schönen Abend noch

Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

	"What happened to the crewman?"
	"The M-5 computer needed a new power source, the crewman merely
         got in the way."
		-- Kirk and Dr. Richard Daystrom, "The Ultimate Computer",
		   stardate 4731.3.


Reply to: