The following reply was made to PR bin/61355; it has been noted by GNATS. From: Eugene Grosbein <[email protected]> To: [email protected] Cc: Subject: Re: bin/61355: login(1) does not restore terminal ownership on exit Date: Sun, 28 Apr 2013 19:56:57 +0700
Hi! Please note that this problem was first reported over 9 years ago. The problem is still here with 9.1-STABLE. However, visual effects has changed again. That's what do we have now. First, login via ssh as user "eugen": $ tty /dev/pts/1 $ w | grep pts/1 eugen pts/1 eg.sd.rdtc.ru 19:44 - grep pts/1 Than, use /usr/bin/login to become user "support": $ login support Password: FreeBSD 9.1-STABLE (K-45-MONITOR) #7: Thu Mar 28 16:18:06 NOVT 2013 ... Edit /etc/motd to change this login announcement. $ tty /dev/pts/1 $ w | grep pts/1 eugen pts/1 eg.sd.rdtc.ru 19:44 - grep pts/1 support pts/1 - 19:46 - grep pts/1 In this version, login just added another record to utmp. That's just fine. Now leave nested session: $ exit logout $ w|grep pts/1 eugen pts/1 eg.sd.rdtc.ru 19:44 - grep pts/1 $ ls -l `tty` crw--w---- 1 support tty 0x96 28 ÁÐÒ 19:47 /dev/pts/1 $ screen Cannot open your terminal '/dev/pts/1' - please check. As you can see, original problem is still here: terminal ownership has not been restored. Eugene Grosbein
_______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
