Red Hat Bugzilla – Bug 42890
users command still shows users who have logged off
Last modified: 2015-03-04 20:09:08 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
Description of problem:
On my RedHat 7.1 server, users rexec and rlogin from other machines for
access. Once they logout, the users command still reports them as logged
in. RedHat 7 did not do this......
Steps to Reproduce:
1. Have users rlogin or rexec into a RH7.1 machine
2. Type "users" at a command prompt to see that they have logged in
3. Have the user logogg
4. Type "users" again - they will still be logged in
Actual Results: The procedure above shows that users are still logged in
even though they are not
Expected Results: The user's name should have been removed from the list
when they logoff.
This is a Dell Poweredge 1400 Server (dual PIII's @ 1 GHz) but this has
also happened on my other RH7.1 machines. This can be annoying if you
want to remove and add or change a user on the system. The only way
to "log them off" to allow root to change their account is to reboot the
server - not fun! This upsets the other users :)
Looks like rshd doesn't handle utmp correctly.
Has been fixed im recent rawhide kernels (2.4.5-xxx). It seems to have been some
/proc proccesses related bug.
Read ya, Phil
*** This bug has been marked as a duplicate of 42572 ***