|
From: | Jim Meyering |
Subject: | Re: is hard-coding the group name, "tty", portable enough for who -a? |
Date: | Tue, 08 Jul 2008 08:33:51 +0200 |
"James Youngman" <address@hidden> wrote: > How about just comparing the GID of the other user's terminal against > the GID of the terminal whose name would have been printed if we'd run > "tty"? Thanks, but in http://bugzilla.redhat.com/454261, the example shows that a user in the "mesg n" state has the group of their "tty" device set to "root". That would make who -a's indicator vary depending upon the user/tty running it.
[Prev in Thread] | Current Thread | [Next in Thread] |