Subject: su sequence
To: None <port-i386@netbsd.org>
From: Ray Phillips <r.phillips@jkmrc.uq.edu.au>
List: port-i386
Date: 08/30/2002 12:45:40
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