-1

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.

7
  • Have you tried entering your login password?
    – s3lph
    Jan 25, 2016 at 10:44
  • The system doesn't ask for a login password. It just ask for password when I tried to update the system. The login name is 'centrium' and I suppose it was set by the manufacturer.
    – Hugo
    Jan 25, 2016 at 10:46
  • If there is no password for the user, please set one in the system settings.
    – s3lph
    Jan 25, 2016 at 10:49
  • 1
    @Hugo: if it was a pre-installed Ubuntu you should ask the manufacturer for the administrator password. Here is reasons why it may be better to just re-install your own Ubuntu on that machine.
    – Takkat
    Jan 25, 2016 at 10:53
  • 2
    I would prefer you re-installed ubuntu 14.04LTS on that machine and start on a clean slate.The best tutorial to start ubuntu withis the manual download the pdf file and you are good to start. Jan 25, 2016 at 11:22

2 Answers 2

0

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.

  1. Open up Terminal and type in passwd.

  2. Enter a new password (For a strong password make sure it has capitals, more than 8 characters and numbers) and press enter.

  3. Retype your new password and press enter.

1
  • Prompt will ask for current password, which op doesn't know. Won't do Jan 26, 2016 at 2:25
-2

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:

  1. https://help.ubuntu.com/community/GraphicalInstall and https://askubuntu.com/
1
  • 1
    @DnrDevil passwd user does not set the password for root.
    – Seth
    Mar 18, 2016 at 16:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .