Through this page we will try to answer some of the most common questions we get asked either through comment boxes or e-mail.
1) I’ve downloaded an Ubuntu [xx.yy] codename “[abcdefghhijk]” image. I need the ‘root’ password to administrate my system. Where is it/why don’t you provide it?
In short: you are not supposed to actually login with user root credentials in any given moment. In Ubuntu (and several other distributions) you are supposed to use one or more unprivileged accounts all the time, and get the required priviliges through sudo when you need that. If you insist on setting a root password, you can do it anyway:
- Open a terminal emulator
- Type sudo passwd root, then press Return.
Note that this only allows user escalation through the su command and text logins (from a real or virtual terminal). If you wish, you can even allow root graphical logins: you are invited to search through Google “root login [your login manager: for example, gdm in GNOME, kdm in KDE]” to see how it can be done.
2) The password for user [USERNAME] for the [DISTRIBUTION] Linux image is wrong? What is the correct password for [USERNAME]?
As far as we can do, we try to ensure to supply correct username/password couples are provided. It might happen – and it will happen, especially if we continue adding user-provided images that we cannot test thoroughly – that this is not the case. Often, we cannot re-download the images, change the passwords and reupload them as it becomes extremely costly and time-demanding for us.
Here is how you can nevertheless get access to the image (we will be adding more tips)
- If the bootloader for the image is GRUB (you may spot a *GNU GRUB* line while booting)
a) Press E.
b) A line editor opens: press the right arrow (or the END key if it works), then add ” single” (without the quotes, and with the trailing space), then press ENTER.
c) Press B.
The Linux system will boot in single-user mode: what matters to you is that you can issue this command
and change the relevant password without being asked for the current one (yes, it works also with the root user). Be sure to enter it twice correctly.
d) Type reboot, and then press ENTER.
The system will restart. You should be able to access it correctly after the next boot.
3) Your Ubuntu image has the Italian keyboard layout? How do I fix that?
Open a Terminal window, then type
sudo dpkg-reconfigure console-setup
and press ENTER. Choose the keyboard layout you prefer from the ones listed there.