Re: Recent getty(8) changes clobbers w(1)

2003-06-23 Thread Yar Tikhiy
On Thu, Jun 19, 2003 at 03:20:28PM +0200, Morten Rodal wrote:
 After the recent getty(8) changes w(1) will now show root logins on
 the same ttys if you use su(1).  However, after logging out the root
 user is not removed from the w(1) (or who(1) for that matter).
 
 Example output from w(1) where tty p0 and p4 have been used to login
 with root, and currently logged out while p2 is still logged in.
 
 [atlantis] ~ w
  3:17pm  up  5:44, 8 users, load averages: 0,02 0,15 0,31
 USER TTY  FROM  LOGIN@  IDLE WHAT
 root p0   - 9:40am - vi
 root p2   - 3:11pm 2 -su (csh)
 root p4   - 3:14pm - w
 morten   p0   :0.0  3:10pm - vi
 morten   p1   :0.0  9:46am 2 irssi
 morten   p2   :0.0  3:10pm 2 -su (csh)
 morten   p3   :0.0  3:10pm 6 ssh slimy
 morten   p4   :0.0  3:11pm - w
 
 As far as I know this started after the getty(8) changes, but it could
 be some other changes as while.  Am I the only one seeing this?

Thanks for reporting this, but I've been unable to reproduce the
problem.  Moreover, getty(8) is neither responsible for updating
utmp(5) nor used on pseudo terminals, so my recent changes to
getty(8) could hardly introduce the problem you were observing.
A possible reason for it might be that your utmp(5) file got broken
in some way.

-- 
Yar
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Recent getty(8) changes clobbers w(1)

2003-06-23 Thread Andrey Chernov
On Mon, Jun 23, 2003 at 18:46:00 +0400, Yar Tikhiy wrote:
 On Thu, Jun 19, 2003 at 03:20:28PM +0200, Morten Rodal wrote:
  After the recent getty(8) changes w(1) will now show root logins on
  the same ttys if you use su(1).  However, after logging out the root
  user is not removed from the w(1) (or who(1) for that matter).
  
  Example output from w(1) where tty p0 and p4 have been used to login
  with root, and currently logged out while p2 is still logged in.
  
  [atlantis] ~ w
   3:17pm  up  5:44, 8 users, load averages: 0,02 0,15 0,31
  USER TTY  FROM  LOGIN@  IDLE WHAT
  root p0   - 9:40am - vi
  root p2   - 3:11pm 2 -su (csh)
  root p4   - 3:14pm - w
  morten   p0   :0.0  3:10pm - vi
  morten   p1   :0.0  9:46am 2 irssi
  morten   p2   :0.0  3:10pm 2 -su (csh)
  morten   p3   :0.0  3:10pm 6 ssh slimy
  morten   p4   :0.0  3:11pm - w
  
  As far as I know this started after the getty(8) changes, but it could
  be some other changes as while.  Am I the only one seeing this?
 
 Thanks for reporting this, but I've been unable to reproduce the
 problem.  Moreover, getty(8) is neither responsible for updating
 utmp(5) nor used on pseudo terminals, so my recent changes to
 getty(8) could hardly introduce the problem you were observing.
 A possible reason for it might be that your utmp(5) file got broken
 in some way.

It can be some su problem too, I saw similar reports.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Recent getty(8) changes clobbers w(1)

2003-06-19 Thread Morten Rodal
After the recent getty(8) changes w(1) will now show root logins on
the same ttys if you use su(1).  However, after logging out the root
user is not removed from the w(1) (or who(1) for that matter).

Example output from w(1) where tty p0 and p4 have been used to login
with root, and currently logged out while p2 is still logged in.

[atlantis] ~ w
 3:17pm  up  5:44, 8 users, load averages: 0,02 0,15 0,31
USER TTY  FROM  LOGIN@  IDLE WHAT
root p0   - 9:40am - vi
root p2   - 3:11pm 2 -su (csh)
root p4   - 3:14pm - w
morten   p0   :0.0  3:10pm - vi
morten   p1   :0.0  9:46am 2 irssi
morten   p2   :0.0  3:10pm 2 -su (csh)
morten   p3   :0.0  3:10pm 6 ssh slimy
morten   p4   :0.0  3:11pm - w

As far as I know this started after the getty(8) changes, but it could
be some other changes as while.  Am I the only one seeing this?

The machine is running world and kernel from 16th of June.

FreeBSD atlantis.rodal.no 5.1-CURRENT FreeBSD 5.1-CURRENT #31: Mon Jun 16 13:26:24 
CEST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/atlantis  i386


-- 
Morten Rodal



pgp0.pgp
Description: PGP signature