Forget / forgot / cannot remember root password
1. reboot server
2. choose to boot into single user mode
3. mount -o rw <root partition> e.g. mount -o rw /
4. passwd <root account> e.g. passwd root
5. mount -o ro <root partition> e.g. mount -o ro /
6. reboot server again
Voila !!!
Related posts:
- Reset MySQL Root Password Very often, once we didn’t log on to MySQL database...
- Change or Set User Password in FreeBSD If you notice, during FreeBSD installation, it doesn’t have a...
- mount hfsplus (mac os file system) under Debian linux Have an external hard disk with hfsplus or hfs+ partition...
- Create Root Privilege User on MySQL By default, MySQL root privileges user is “root”, I always...
- How to Create User with useradd in FreeBSD You can invoke “adduser” command in FreeBSD in order to...
- How to Find Your Closest Anycast DNS Server with Dig Most ISP deploys Anycast DNS server on their network and...
- How to Install FreeBSD 5.4 on Your Machine FreeBSD is an advanced operating system for x86 compatible (including...
- FreeBSD 6.1 Performance Tuning Just a note for myself to tune FreeBSD OS for...
- Servers Uptime. More Than 356 days, 1 Year Old Phew, time flies… I’ve been working with AIMS for more...
- MySQL Quick Installation on FreeBSD Quick installation of MySQL Database on FreeBSD Server. Make sure...
April 8th, 2008 at 11:42 am
basket. next time post early la. normally if i forgot password i just reformat and reinstall…. only now u post this tip. kanineh