My Oracle Support Banner

"who am i" Reports root instead of the original user after doing "su -" (Doc ID 1524695.1)

Last updated on JUNE 13, 2023

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:


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.