Bug#60622: general: Users with shell /bin/false are not logged out correctly
I have created a new user called reim with a shell /bin/false
(included into /etc/shells, but even if not, same effect) to prevent
the user from login. If that user logs in via a getty the user will
be logged out correctly immediately after the login. But if the user
logs in via the login command, the user is not COMPLETELY logged out.
If I type 'who' I still can see that user is logged in, but that can't
be not true. When I close the console, where the user has tried to
login via the login command, the user will be logged out correctly.
Now another situtation: If I use the login command in konsole under
KDE the user will NEVER be logged out completely, even if I close
konsole. The effect is, that the user reim is logged in the whole
time, I can't log him out because he has no shell or other
programs running. And I can't delete the user because the
systems thinks he is still logged in.
-- System Information
Debian Release: 2.2
Kernel Version: Linux neo 2.2.14 #7 Wed Feb 23 20:40:31 CET 2000 i586 unknown