[Bug 345] New: w (uptime) command still indicates user is logged in after logout
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Tue Jul 9 05:40:35 EST 2002
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.
More information about the openssh-unix-dev
mailing list