Need to reset my administrative password

Asked by ToniR

I don't know the password I chose when I got my dell mini and I can't figure out how to set a new one. I have no experience with Ubuntu. Can anyone help? I tried using some of the prior posts but can't seem to figure out how to get into RECOVERY mode.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bernhard (b.a.koenig) said :
#1

Usually

sudo passwd

What do you mean by RECOVERY mode? The safeboot at the beginning? You can choose it during boot.

Revision history for this message
Tom (tom6) said :
#2

Yeah

Go up to Applications menu on the top taskbar - Accessories - Terminal

Into the terminal/command window/console type

sudo passwd

first it'll ask you for your normal user password, not the root/SuperUser one. After that just follow diections

Alternatively i prefer using a gui. Go up to System menu on the top taskbar - Administration - Users&Groups all the way down at the end. In the pop-up box click on the "Unlock" button, again this will ask for your normal user password (not Root or SuperUser) then click on Root and edit the properties of Root.

The first way is easier to describe but the 2nd way is easier to do.

Good luck with this
Regards from
Tom :)

Revision history for this message
Tom (tom6) said :
#3

When i tested out the first way i got

user@Ubuntu810:~$ sudo passwd
[sudo] password for user:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
user@Ubuntu810:~$

while i was typing passwords in it didn't give any *s or anything that might help someone guess how long my password is - which makes it that much more secure ;)

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#4

I don't remember user and password what i can do

You can do this: http://www.psychocats.net/ubuntu/resetpassword

or

To discover your user and restore (change) the password you can:

Start the pc the when you see the GRUB row...

Press ESC.

Press "e" for edit.

Highlight the line that begins kernel ………, and press "e"

Go to the very end of the line, add rw init=/bin/bash

press enter, then press "b" to boot your system.

Your system will boot up to a passwordless root shell.

Type in grep -i 1000 /etc/passwd

The system must show a row with your user name at the start of the row
for example:
danilo:x:1000:1000:ubuntu,,,:/home/danilo:/bin/bash

Here my user is danilo

Then to change your user password type in:

passwd username

or

passwd -d username

change username with your real user

Set your password.

Type in:

reboot

or

reboot -f

Hope this helps

Revision history for this message
Tom (tom6) said :
#5

So many ways and yet Linux is still much more secure than certain other OS's heheheh :)

Revision history for this message
Tom (tom6) said :
#6

If you are still having trouble with this then please post it as a new question. Only the most recent questions tend to get looked at so posting/reposting a question just before america arrives online gives the best chance of getting a good few answers.

If the problem has been resolved then please follow the link to the forum thread and mark it as Solved.

Good luck and many regards from
Tom :)

Can you help with this problem?

Provide an answer of your own, or ask ToniR for more information if necessary.

To post a message you must log in.