Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions

  




 

 

Passwords


If you forget your password for root, then you will be in a spot of bother. One way to fix this is to reboot the machine using the Debian installation floppy or CD. When you get the first question (about the having a colour monitor) press CTRL-ALT-F1 to get a shell. Mount your root partition (let's say it is /dev/hda1):



# mount /dev/hda1 /mnt

then edit the password file to erase the encrypted password for root:



# editor /mnt/etc/passwd

Save the file then reboot (CTRL-ATL-DEL).


Subsections


Copyright © 1995-2006 [email protected]

 
 
  Published under the terms fo the GNU General Public License Design by Interspire