fsquillace / junest

The lightweight Arch Linux based distro that runs, without root privileges, on top of any other Linux distro.
GNU General Public License v3.0
2.08k stars 111 forks source link

In `top`, other user’s names becomes `nobody` #275

Open ayaka14732 opened 2 years ago

ayaka14732 commented 2 years ago

Steps to reproduce:

  1. Open top command in junest
  2. Check the USER column of the output. Other user’s names are shown as nobody

Is it possible to show the actual user names instead of nobody?

fsquillace commented 2 years ago

Yes, you are right. I am not sure why that happens. This happen with ps command too. Junest updates /etc/passwd file so I thought these programs use that file to get the username. We may need to update some other files.

If you have time to investigate this, please let me know, thanks.

andryandrew commented 5 months ago

I looked a little bit into it and this could be the underlying issue (kernel namespace limitation)