Você está na página 1de 3

Reset Your Forgotten Ubuntu Password in 2

Minutes or Less
If you’ve ever forgotten your password, you aren’t alone… it’s probably
one of the most common tech support problems I’ve encountered over
the years. Luckily if you are using Ubuntu they made it incredibly easy
to reset your password.

Then choose “Drop to root shell prompt” from this menu.

All it takes is adjusting the boot parameters slightly and typing a


Now just hit the down arrow key over to the “kernel” option, and then
command or two, but we’ll walk you through it.
use the “e” key to switch to edit mode for the kernel option.

Reset Your Ubuntu Password

Reboot your computer, and then as soon as you see the GRUB Loading
screen, make sure to hit the ESC key so that you can get to the menu.

This should give you a root shell prompt.

Alternate Root Shell Method

If you don’t have the recovery mode option, this is the alternate way to
Root Shell – Easy Method manually edit the grub options to allow for a root shell.
You’ll first be presented with a screen that looks very similar to this one:
If you have the option, you can choose the “recovery mode” item on the First you’ll want to make sure to choose the regular boot kernel that you
menu, usually found right below your default kernel option. use (typically just the default one), and then use the “e” key to choose to
edit that boot option.
You’ll want to remove the “ro quiet splash” part with the backspace key,
and then add this onto the end:

rw init=/bin/bash At this point the system should boot up very quickly to a command
prompt.

Changing the Actual Password


After changing your password, use the following commands to reboot
your system. (The sync command makes sure to write out data to the
You can use the following command to reset your password: disk before rebooting)

passwd <username> sync


reboot –f
For example my username being geek I used this command:
I found that the –f parameter was necessary to get the reboot command
passwd geek to work for some reason. You could always hardware reset instead, but
make sure to use the sync command first.

And now you should be able to login without any issues.


Once you hit enter after adjusting the kernel line, you’ll need to use the
B key to choose to boot with that option.
Selain di Windows, koneksi dial-up untuk Telkom Speedy juga bisa Setting Manual LAN/WLAN di Linux sbb :
dibuat di Ubuntu Linux. Caranya lebih mudah dan simpel. Berikut ini
penjelasannya: - Buka terminal console
- Kemudian masuk ke root
1. Pastikan modem Anda sudah diset ke mode bridge.
2. Hubungkan modem ke dalam komputer, kemudian nyalakan. boy@nocodez:~$ sudo su
3. Buka Terminal (klik menu Applications > Accessories > [sudo] password for root: (user root)
Terminals). boy@nocodez:/home/nocodez#
4. Ketik sudo pppoeconf, kemudian ketik password Linux Anda.
- setting ip addres dan netmask
5. Pilih Yes untuk semua pertanyaan yang diajukan (maaf saya
lupa detail setiap pertanyaannya ). Ada screenshot-nya ifconfig <interface> add <IP addres> netmask <netmask>
sih…, cm ndak sempat upload.
6. Jika ditanya username, ketik nomor speedy Anda, misalnya Contoh : boy@nocodez:/home/nocodez# ifconfig eth0 add 192.168.1.1
142433300xxx@telkom.net netmask 255.255.255.0
7. Berikutnya, masukkan password Speedy Anda.
8. Setting tersebut sebenarnya disimpan dalam sebuah file - setting gateway
bernama dsl-provider di /etc/ppp/peers/
route add default gw <gateway>
9. Untuk konek ke internet, ketik sudo pon dsl-provider.
10.Sedangkan untuk diskonek, ketik sudo poff dsl-provider. Contoh : boy@nocodez:/home/nocodez# route add default gw
11.Agar lebih mudah diingat, Anda bisa mengubah nama file dsl- 192.168.1.1
provider menjadi nama lain, misalnya speedy atau
telkomspeedy. Caranya: ketik sudo mv /etc/ppp/peers/dsl- - setting DNS server
provider [SPASI] /etc/ppp/peers/telkomspeedy. CATATAN:
kata [SPASI] berarti tekan SPASI (spacebar) satu kali. boy@nocodez:/home/nocodez# nano /etc/resolv.conf
12.Sekarang, untuk konek ke internet, ketik sudo pon rubah nameserver dengan dns server provider anda (misal pake dns
telkomspeedy.
speedy = 202.134.0.155)
13.Jika muncul tulisan Plugin rp-pppoe.so loaded, berarti
modem sudah siap dan bisa digunakan. # Generated by NetworkManager
14.Sedangkan untuk diskonek, ketik sudo poff telkomspeedy. nameserver 202.134.0.155

Selamat mencoba! *** setelah dirubah tekan tombol kombinasi ctrl+o --> enter --> ctrl+x

- finish

Você também pode gostar