关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。
我们不允许在 Stack Overflow 上提出有关通用计算硬件和软件的问题。您可以编辑问题,使其成为 on-topic对于堆栈溢出。
5个月前关闭。
Improve this question
如何在 Ubuntu 20.04.3 LTS 中找到我的系统登录用户名?
最佳答案
Use this solution if you didn't encrypt your home directory.
Do you still have the installation media(LiveCD/USB) from which you installed Ubuntu? Boot from it and select Try Ubuntu.
Go to Files and then, you will see you already installed Ubuntu partition. Click on it, it will mount.
Go to /home. Here you will see a list of all users on the system that you have created.
To jog your memory, however, what is your name? Did you enter the same name while installing Ubuntu? Do you recall the name that was displayed on the login prompt where you entered your password? Ubuntu by default sets the username as your first name in lowercase.
Example; name= John Doe, automatically set username= john
来源:https://askubuntu.com/a/704873
关于linux - 如何找到我的用户名(ubuntu 20.04 中的系统登录用户名)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70831381/