[Bug 3931] New: Busybox issue: utmp not getting updated on exit for telnet command
bugzilla at busybox.net
bugzilla at busybox.net
Mon Jun 27 15:33:42 UTC 2011
https://bugs.busybox.net/show_bug.cgi?id=3931
Summary: Busybox issue: utmp not getting updated on exit for
telnet command
Product: Busybox
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
AssignedTo: unassigned at busybox.net
ReportedBy: chandrak at huawei.com
CC: busybox-cvs at busybox.net
Estimated Hours: 0.0
Linux at testing ~ # busybox
BusyBox v1.11.1 (2011-06-30 14:25:06 IST) multi-call binary
Copyright (C) 1998-2008 Erik Andersen, Rob Landley, Denys Vlasenko
and others. Licensed under GPLv2.
See source distribution for full notice.
Unable to delete a non-root user by a root user. Throws error as the user is
currently logged in, though it is not.
saying, userdel: user testmcc is currently logged in. However, the user
session was no where active.
Linux at testing ~ # who
USER TTY IDLE TIME HOST
root ttyS0 00:00 Jun 23 23:19:35
user1 pts/1 ? Jun 24 00:39:27
testmcc pts/0 ? Jun 24 03:36:49
root ttyS0 00:00 Jun 24 06:02:42
Linux at testing ~ # userdel testmcc
userdel: user testmcc is currently logged in
Linux at testing ~ #
Steps:
Can be reproduced using two systems ( one host and other target )
1. Add/create a user say "solution" (on target)
2. Set password for the same
3. From host, establish telnet session on to the target as non root user say,
solution.
4, After successful connection establishment, logout of the session with exit.
5. Now, log on to the target as root user, delete user "solution"
Observe, the error as mentioned above,.
Dont hesitate to ask for more details to reproduce or debugging information. I
would be glad to provide information and get resolution.
P.S: When ssh is used to connect the target system and logout, the utmp is
getting updated. so i guess this issue is persistant only with Telnet.
Thanks,
Chandra K.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list