Bug 17830

Summary: /usr/bin/login called from command line doesn't restore the utmp record
Product: Base System Reporter: Grigoriy Strokin <grg>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-STABLE   
Hardware: Any   
OS: Any   

Description Grigoriy Strokin 2000-04-06 17:20:01 UTC
If one uses /usr/bin/login from command line to login as another user,
then who reports that another user as logged in even after logout.

How-To-Repeat: 
user1 $ login user2
         passord: xxx
user2 $ logout
user1 $ who

'who' will report that user2 is still logged in from current terminal
Comment 1 Yar Tikhiy freebsd_committer freebsd_triage 2001-10-11 15:24:13 UTC
State Changed
From-To: open->closed

Duplicate of bin/16971