[EMAIL PROTECTED] (Bob Proulx) writes: > Alexander Schestag wrote: >> So, is there a way to tell "who" to list the users logged in via su >> as well? > > Not with who. AFAIK you would need to walk the process list for that > information. There is really nothing special about a login process. > It is just a normal process.
Actually a login process is kind of special, because it creates a new session and becomes the leader of it. Changing the user with su, on the other hand, does not create a new session (use ps -ej to display the session id of every process). Still, it is the sole responsibility of the process creating the session to update the utmp/wtmp information. In other words, you cannot trust this information in any way. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
