[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#14892: marked as done (konsole doesn't create utmp entries) by Stephan Binner <Stephan.Binner@gm
From:       owner () bugs ! kde ! org (Stephan Kulow)
Date:       2001-09-30 12:48:02
[Download RAW message or body]

Your message with subj: konsole doesn't create utmp entries

Konsole now creates non-writeable utmp entries if utempter is installed.


has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Stephan Kulow
(administrator, KDE bugs database)

Received: (at submit) by bugs.kde.org; 8 Nov 2000 10:44:03 +0000
Received: (qmail 17544 invoked from network); 8 Nov 2000 10:44:03 -0000
Received: from cantor.suse.de (194.112.123.193)
  by max.tat.physik.uni-tuebingen.de with SMTP; 8 Nov 2000 10:44:03 -0000
Received: from Hermes.suse.de (Hermes.suse.de [194.112.123.136])
	by Cantor.suse.de (Postfix) with ESMTP id 07AA81E0D2
	for <submit@bugs.kde.org>; Wed,  8 Nov 2000 11:44:03 +0100 (MET)
Received: from Wotan.suse.de (Wotan.suse.de [10.10.0.1])
	by Hermes.suse.de (Postfix) with ESMTP id F27993E484
	for <submit@bugs.kde.org>; Wed,  8 Nov 2000 11:44:02 +0100 (MET)
Received: from snell.suse.de (Snell.suse.de [10.10.0.157])
	by Wotan.suse.de (Postfix) with ESMTP id CFD021C825B
	for <submit@bugs.kde.org>; Wed,  8 Nov 2000 11:44:02 +0100 (CET)
Received: from snell ([10.10.0.157])
	by snell.suse.de (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with SMTP id eA8Ai2n28546
	for submit@bugs.kde.org; Wed, 8 Nov 2000 11:44:02 +0100
Date: Wed, 8 Nov 2000 11:44:02 +0100
Message-Id: <200011081044.eA8Ai2n28546@snell.suse.de>
X-Authentication-Warning: snell.suse.de: Host [10.10.0.157] claimed to be snell
Subject: konsole doesn't create utmp entries
From: Stefan Hundhammer <sh@suse.de>
To: submit@bugs.kde.org

Package: konsole
Version: 1.0.1 (KDE 2.0)
Severity: normal
Compiler: gcc version 2.95.2 19991024 (release)
OS: Linux 2.2.16 i686 (compiled sources)

"who am i" in a "konsole" window doesn't output anything. It works as expected with "xterm". 
Obviously "konsole" doesn't create a corresponding "utmp" entry like "xterm" does.

"konsole_grantpty" has the SUID flag set:

[sh @ snell] /opt/kde2/bin  9 % ll konsole_grantpty
-rwsr-xr-x   1 root     root        14282 Oct 22 11:46 konsole_grantpty  

System: SuSE Linux 7.0 Professional out-of-the-box (no special development RPMs etc. installed).

[sh @ snell] /opt/kde2/bin  11 % uname -a
Linux snell 2.2.16 #1 Wed Aug 2 20:22:26 GMT 2000 i686 unknown 
[sh @ snell] /opt/kde2/bin  12 % rpm -qf `which who`
sh_utils-2.0-155  

Just the same problem with "who" and "finger": "konsole" sessions don't show up.
The "utmp" man page says:
  
       xterm(1)  and  other  terminal emulators directly create a
       USER_PROCESS record and generate the ut_id  by  using  the
       last  two  letters  of  /dev/ttyp%c  or  by  using p%d for
       /dev/pts/%d.  If they find a  DEAD_PROCESS  for  this  id,
       they  recycle  it,  otherwise they create a new entry.  If
       they can, they will mark it as DEAD_PROCESS on exiting and
       it is advised that they null ut_line, ut_time, ut_user and
       ut_host as well.
 
       xdm(8) should not create an utmp record, because there  is
       no  assigned  terminal.  Letting it create one will result
       in trouble like: finger: can  not  stat  /dev/machine.dom.
       It  should  create wtmp entries, though, just like ftpd(8)
       does.
                                                                                                     
IMHO "konsole" should behave just like "xterm", right?

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic