"who am i" Reports root instead of the original user after doing "su -"
Last updated on DECEMBER 01, 2016
Applies to:Solaris Operating System - Version 9 GA to 11.3 [Release 9.0 to 11.0]
Information in this document applies to any platform.
After logging in to a system as a user, then "su -" to root, the "who am i" command reports root instead of the user.
Also, the device shows as /dev/syscon:
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms