[Bug 345] New: w (uptime) command still indicates user is logged in after logout (fwd)

Ben Lindstrom mouring at etoh.eviladmin.org
Tue Jul 16 05:24:20 EST 2002


Hmm.. All the hp/ux of the 10.x era has that set in the configure.ac.

- Ben

---------- Forwarded message ----------
Date: Tue,  9 Jul 2002 05:40:35 +1000 (EST)
From: bugzilla-daemon at mindrot.org
To: openssh-unix-dev at mindrot.org
Subject: [Bug 345] New: w (uptime) command still indicates user is logged
    in after logout

http://bugzilla.mindrot.org/show_bug.cgi?id=345

           Summary: w (uptime) command still indicates user is logged in
                    after logout
           Product: Portable OpenSSH
           Version: -current
          Platform: HPPA
        OS/Version: HP-UX
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Build system
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: dave.anglin at nrc.ca


The build system is hppa1.1-hp-hpux10.20 and openssh is version 3.4p1.

The w (uptime) command indicates a user is still logged in after logout.
The problem wasn't present in 3.1p1 even though writing to utmp is
disabled.

Other commands such as who and last generate correct results.
/dev/pts/* appear to be correctly released.

Looking at config.h, I noticed that writing to utmp was disabled:

/* Define if you don't want to use utmp */
#define DISABLE_UTMP 1

Commenting this out and rebuilding, fixed the problem.  Disabling
writing to wtmp seems to be the default (ie, I didn't disable it when
running configure).



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
openssh-unix-dev at mindrot.org mailing list
http://www.mindrot.org/mailman/listinfo/openssh-unix-dev




More information about the openssh-unix-dev mailing list