示例:显示用户自己的名称,并切换到steven用户再次查看
[root@node1 ~]# whoami root [root@node1 ~]# su - steven [steven@node1 ~]$ whoami steven