"who am i" result value is not output.

Latest response

"who am i" result value is not output.

  1. "who am i" Server result that normally outputs.
    [root@webserver1 ~]# who am i
    root pts/0 2023-01-28 15:24 (000.000.000.000)

[root@webserver1 ~]# strace -e open who am i
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
open("/var/run/utmp", O_RDONLY|O_CLOEXEC) = 3
open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 3
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/etc/group", O_RDONLY|O_CLOEXEC) = 3
open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 3
root pts/0 2023-01-28 15:24 (000.000.000.000)
+++ exited with 0 +++

  1. "who am i" server result that does not print normally.
    [root@webserver2 ~]# who am i

[root@webserver2 ~]# strace -e open who am i
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
open("/var/run/utmp", O_RDONLY|O_CLOEXEC) = 3
+++ exited with 0 +++

Responses