Popular Posts
- How to setting Internet and MMS for iPhone (Maxis, DiGi, Celcom, Xpax, U Mobile)
- How to setup MMS (CELCOM) for Sony Ericsson W810
- How do I install ArcGIS Desktop 9.3 for use with a local license?
- How to solve unable to receive MMS (Celcom,Maxis,Digi) messages on Blackberry Torch
- How to configure BlackBerry As Modem(Maxis) using Blackberry Desktop
Wednesday, July 28, 2010
Procedure: Reset FreeBSD root user password
Step # 2: Press Enter key at boot loader
At Welcome to FreeBSD! boot menu press spacebar key to pause default booting
Type number 4 key (type 4 number) to boot into single user mode
(click to enlarge)
Next you will see following prompt from system:
When prompted Enter full pathname of shell or RETURN for /bin/sh:
Press Enter key to boot into single user mode. Next, you will be immediately dropped into a single user mode without a root password.
You need to remount / (root) file system in read and write mode with mount command, type following two commands:
# mount -u /
# mount -a
Setup a new password with passwd command:
# passwd
Next type exit command to boot FreeBSD into multi-user mode environment:
# exit
OR You can just reboot the system:
# sync;sync
# reboot
For more information read man pages of passwd and mount command.
Friday, July 16, 2010
How to reset your password in Ubuntu
There are many reasons you might want to reset a password:
- Someone gave you a computer with Ubuntu installed on it but not the password for the user account.
- You just installed Ubuntu and forgot what password you selected during the installation process.
- You have too many passwords in your life and can't keep track of them all.
First, you have to reboot into recovery mode.
If you have a single-boot (Ubuntu is the only operating system on your computer), to get the boot menu to show, you have to hold down the Shift key during bootup.
If you have a dual-boot (Ubuntu is installed next to Windows, another Linux operating system, or Mac OS X; and you choose at boot time which operating system to boot into), the boot menu should appear without the need to hold down the Shift key.
For older versions of Ubuntu (9.04 and 8.04), you can press the Escape key during bootup in order to see the boot menu.
From the boot menu, select recovery mode, which is usually the second boot option.
After you select recovery mode and wait for all the boot-up processes to finish, you'll be presented with a few options. In this case, you want the Drop to root shell prompt option so press the Down arrow to get to that option, and then press Enter to select it.
The root account is the ultimate administrator and can do anything to the Ubuntu installation (including erase it), so please be careful with what commands you enter in the root terminal.
Once you're at the root shell prompt, if you have forgotten your username as well, type
To reset the password, type
You'll then be prompted for a new password. When you type the password you will get no visual response acknowledging your typing. Your password is still being accepted. Just type the password and hit Enter when you're done. You'll be prompted to retype the password. Do so and hit Enter again.
Now the password should be reset. Type
After you get back to the recovery menu, select resume normal boot, and use Ubuntu as you normally would—only this time, you actually know the password!
Enjoy ubuntu... ;)