Subject: Re: su sequence
To: Ray Phillips <r.phillips@jkmrc.uq.edu.au>
From: Greywolf <greywolf@starwolf.com>
List: port-i386
Date: 08/29/2002 21:49:36
Usually that information is kept wherever syslog records auth.info or
lower information; I use /var/log/authlog.

As far as restricting it to the current terminal session, you'd have to
vgrep it for tty and/or time slot.


On Fri, 30 Aug 2002, Ray Phillips wrote:

# Date: Fri, 30 Aug 2002 12:45:40 +1000
# From: Ray Phillips <r.phillips@jkmrc.uq.edu.au>
# To: port-i386@netbsd.org
# Subject: su sequence
#
# Could someone oblige me by answering this question (which I should
# probably know)?
#
# Is there a command which lists how many times you've used su in your
# current terminal session and which user identities you've assumed
# along the way?
#
# For example, if I was to login as user1, su to root, then su to user2
# it would print
#
# user1 -> root -> user2
#
# or something similar.
#
#
# Ray
#


				--*greywolf;
--
NetBSD: The choice of hundreds worldwide.