who -m command is not giving any output.
Issue
- who -m command is not giving any output.
- who -m not working any more once su to root to determine Real uid
# sudo -u user -i
# who am i | wc -l
0 <---------- no output
Environment
- Red Hat Enterprise Linux 7
- seen on
sudo-1.8.23-3.el7
- seen on
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.