I have installed Ubuntu but it asks me for the administrator password
It's strange, I created a user in the virtual machine, and an account all in one, but when I want to install a program or update something it asks me for the administrator password, and none of the passwords I have work. What is the administrator? I leave it blank and I also get an error
I have installed Ubuntu but it asks me for the administrator password
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: I have installed Ubuntu but it asks me for the administrator password
Ubuntu (and Linux in general) always separates normal users from admin users. Only admins can do anything that changes the system. Normal users can be temporarily elevated to admin level using "sudo" and an admin password.
These are Linux matters and not something particular to VirtualBox VMs. This is not the place to get Linux tuition!
If you used the "unattended install" feature of VirtualBox to create the VM then try using "changeme" as the admin password - and change that password soon after!
These are Linux matters and not something particular to VirtualBox VMs. This is not the place to get Linux tuition!
If you used the "unattended install" feature of VirtualBox to create the VM then try using "changeme" as the admin password - and change that password soon after!
-
- Volunteer
- Posts: 5678
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: I have installed Ubuntu but it asks me for the administrator password
Small correction: When using "sudo", the normal user inputs their normal user password, not an admin password.
Re: I have installed Ubuntu but it asks me for the administrator password
To quickly answer the concern: Virtual Box does an unattended setup by default. This creates a user without sudo access which is not what anyone wants. When installing the Ubuntu 22.04.3 (version at the time of posting) you want to Skip Unattended Setup. If it doesn't ask about your location and various other setup questions you most likely did an unattended setup, remove and try again.
Last edited by den0v07 on 20. Nov 2023, 22:54, edited 1 time in total.