bugzilla-daemon at mindrot.org
2002-Jul-08 19:40 UTC
[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.
Seemingly Similar Threads
- [Bug 345] New: w (uptime) command still indicates user is logged in after logout (fwd)
- [Bug 345] w (uptime) command still indicates user is logged in after logout
- [Bug 345] w (uptime) command still indicates user is logged in after logout
- [Bug 345] w (uptime) command still indicates user is logged in after logout
- problems compiling 1.2.2 on HP-UX 10.20 (gcc)