In Ubuntu, Your name is the human-readable name associated with your account, while your username is the account identifier you use to sign in and enter in commands. For example, you might enter “Jordan Lee” as your name and “jordan” as your username; the two fields describe the same account but serve different purposes.
What the Two Fields Mean
During Ubuntu’s desktop setup, the installer may ask for your name and then suggest a username based on it. The wording and order can vary somewhat between Ubuntu releases, but the distinction remains: the name is for people and the username is for the system. You can usually edit the suggested username before continuing.
Your name is a display label. Ubuntu may show it on the sign-in screen, in account-related settings, or in other places where a person-friendly label is useful. It can contain spaces and capital letters, so “Jordan Lee” is a natural value. It is not normally what you type after a login prompt or place before a file path in a terminal command.
Your username identifies the local account to Linux. It is used when you sign in, when you run commands as that account, and when software refers to the account by name. A username such as jordan is convenient to type and does not contain a space. Ubuntu also creates an account with a numeric user ID (UID); the username is the readable label associated with that system identity.
How Ubuntu Uses Each Name
The difference becomes clearer when you look at everyday examples. If the account’s full name is Jordan Lee and its username is jordan, the sign-in screen might display Jordan Lee, while a text login asks for jordan. A terminal prompt might look like jordan@laptop:~$: the part before the at sign is the username, and the part after it is commonly the computer’s hostname.
The username also appears in the default home-directory path. In this example, Ubuntu would normally create /home/jordan. A command that refers to the home directory can use ~, so ~/Documents means the Documents folder inside the current user’s home directory. The display name does not determine that path.
Linux records account information in system account databases. In the traditional /etc/passwd entry, the username is the account’s first field, while the human-readable account information is held in a separate GECOS field. The file also records information such as the UID, home directory, and login shell. This is why changing the display name is a different operation from renaming the account itself.
Choosing a Username During Installation
Ubuntu often proposes a username by converting the name you entered into a simpler form. For instance, “Jordan Lee” might produce jordan or jordanlee. The installer’s suggestion is only a starting point: check it before accepting, especially if you want a short, memorable account name or are setting up a computer that other people will use.
For a personal computer, a short version of your name is usually practical. On a shared machine, you might want each person to have a separate account, such as jordan and sam, rather than sharing one login. Separate accounts make it easier to keep files, settings, and permissions distinct. For a server, a service account or administrator’s username may follow an organization’s naming convention instead.
- Choose something easy to type, particularly if you use the terminal or SSH.
- Prefer a simple, lowercase style for compatibility with scripts and tools.
- Avoid spaces and punctuation unless you have a specific reason to use them.
- Do not treat the username as a password or other secret; it is an identifier, not authentication.
Ubuntu’s installer applies rules to acceptable usernames, and exact validation details can differ by release or account-creation method. A lowercase name made of letters and, where accepted, digits or simple separators is a safe choice. If the installer rejects a value, follow the message it gives rather than assuming every Linux system accepts exactly the same characters.
Username, Full Name, Hostname, and Password
Ubuntu setup can ask for several values that sound similar but identify different things. Your name describes the person using the account. Your username identifies the account. The hostname identifies the computer on a network. Your password proves that you are allowed to access the account. They are not interchangeable.
For example, an installation could use the full name “Jordan Lee,” username jordan, and hostname blue-laptop. The computer might display a prompt such as jordan@blue-laptop. If another machine connects over SSH, the connection typically identifies both the account and the remote computer, as in jordan@blue-laptop in an SSH command. The exact host name and network address depend on the machine and network configuration.
The password is separate from all of these labels. Ubuntu may request the account password to sign in, approve administrative actions, or unlock certain settings. A username can be known by other people without giving them account access; a strong, private password is what helps protect the account. Do not put a password, recovery phrase, or other confidential information in the name field.
Where the Username Appears After Setup
You will encounter the username most often in terminal work and file paths. Commands such as whoami print the username of the current shell session, while id shows the account’s UID and group information. To inspect an account record, an administrator can use getent passwd jordan, replacing jordan with the actual username. These commands are optional ways to check an account; most desktop users do not need to use them routinely.
Some graphical screens show the full name while others may show the username, depending on the application and configuration. A file manager may show your home folder under its path, such as /home/jordan, even if the desktop sign-in screen says Jordan Lee. Both refer to the same account. Similarly, when Ubuntu asks for a username in a terminal or remote-login tool, enter the account identifier, not the display name with spaces.
On a system with multiple user accounts, the username is also useful for distinguishing who owns a file or process. Linux permissions are ultimately associated with numeric IDs, not just the spelling of a name. The system displays usernames as a readable way to work with those identities.
Can You Change Your Name or Username Later?
You can generally change the human-readable name without renaming the account. Ubuntu’s user settings may provide a way to edit the account’s displayed name, and command-line tools such as chfn can edit the account’s descriptive information on systems where they are available and permitted. The precise interface can vary by Ubuntu version and desktop configuration. A display-name change should not, by itself, rename /home/jordan or change the username used at login.
Changing the username is more consequential. It can affect the account’s login name, references in scripts, saved connection details, and the home-directory path if you choose to rename that too. The Linux command usermod can rename an account, and its options can also be used to move a home directory, but a safe procedure requires care. You should not try to rename the account while logged in to that same account, because running processes and the active session still rely on it.
Before changing a username, back up important files, understand whether you need to change the home-directory name as well, and check for services or scripts that refer to the old name. On a personal desktop, creating a new account and transferring files can sometimes be simpler than renaming the existing one. If the computer is managed by an organization, follow its administrator’s process instead of making account changes independently.
Common Mistakes and Sign-In Problems
A frequent mistake is entering the full name at a prompt that expects the username. If the sign-in screen or a terminal asks for a username, type the account identifier you chose, such as jordan, rather than “Jordan Lee.” Conversely, if a form asks for your name, it usually wants the readable name, not the account’s path or computer name.
Another source of confusion is capitalization. A display name can naturally use uppercase letters, but usernames are commonly created in lowercase. When troubleshooting, use the username exactly as configured rather than relying on how the display name is styled. Also check that you are entering the password in the correct account’s prompt; the system may not visibly show characters as you type a password in a terminal, which is normal.
- If a login fails, confirm that you have the username, not the full name or hostname.
- Check the keyboard layout and Caps Lock before repeatedly trying a password.
- If you forgot the username, look at the account list in Ubuntu’s user settings or ask an administrator.
- If the account is locked or managed by another person, use the appropriate recovery or support process rather than guessing repeatedly.
On a newly installed computer, the installer may have generated a username you did not notice. If the computer still has another administrator account, that account can help identify local users. Do not assume the username can always be reconstructed from the full name: installers may shorten or alter names to make a valid account identifier.
Is the Username Private or a Security Feature?
A username is not a secret credential. It may be visible in file paths, terminal prompts, account lists, or remote-login configuration. Choosing an obscure username does not replace a strong password, security updates, or sensible access controls. It is reasonable to avoid publishing unnecessary personal details, but secrecy of the account name should not be the main defense for a computer.
Ubuntu commonly grants the first user created during desktop installation the ability to perform administrative tasks through sudo, subject to the system’s configuration. That privilege is tied to the account and its groups, not to whether the full name looks official. Use administrative approval carefully, keep your password private, and create separate accounts when different people need independent access.
Frequently Asked Questions
Is Ubuntu’s “Your name” the same as the username?
No. “Your name” is a readable label for the person or account. The username is the system identifier used for sign-in, commands, and commonly the home-folder name.
What should I enter for “Your name” in Ubuntu?
Enter the name you want Ubuntu to associate with the account, such as your first and last name. It can normally include spaces and capitals. Do not enter your password there.
What should my Ubuntu username be?
Choose a short, easy-to-type identifier, such as jordan. A simple lowercase username is a practical choice for terminal commands and compatibility, and the installer will tell you if a proposed name is not accepted.
Can my Ubuntu username contain spaces?
For a typical Ubuntu local account, avoid spaces. The installer enforces acceptable username formats, and a simple name without spaces is easier to use in commands, scripts, and paths.
Does changing my name change my Ubuntu username?
Usually not. Editing the displayed name changes the human-readable account information; renaming the username is a separate account operation and may involve changing the home-directory path and updating references.
Which one do I use to log in?
When Ubuntu explicitly asks for a username, enter the account username. A graphical sign-in screen may display your full name as a selectable account, but command-line and remote-login prompts generally need the username.