I'm a new user, recently bought a new machine with Ubuntu. It's my first time with this OS. The first task I tried to do was update the system. I was asked about a password, but I don't know any. The first doubt is: how to set the first password? The second: which tutorial do you recoomend for start learning ubuntu? Thanks a lot.
Welcome to Ubuntu World.How did you login to your system?
If your User Account is previously set to login without password you may try this.
Open up Terminal and type in
Enter a new password (For a strong password make sure it has capitals, more than 8 characters and numbers) and press enter.
Retype your new password and press enter.
Go to System > Preferences > keyboard shortcuts run a terminal: Ctrl+Alt+t and type:
passwd user .. enter new password for user
If no luck You can refer the link From the official Ubuntu Lost Password documentation:
Reboot your computer.
Hold Shift during boot to start GRUB menu.
Highlight your image and press E to edit.
Find the line starting with
"linux" and append rw init=/bin/bash at the end of that line.
Press Ctrl + X to boot. Type in passwd username.
Set your password.
Please refer the Tutorial links: