Direct/scsu access to unix account

Hey

Is there any way to differentiate if a user is logged directly into a UNIX functional account or if they have scsu'ed into the functional account?

Cheers
Paul

From the su'ed account you could issue a

who am i

which will show the original account by which the user logged in 1st into the system.
If available you can also use

logname

Edit: I just notice I am in the Solaris forum - I hope it helps though.

Excellet. Thats exactly what I need.