Search
Search titles only
By:
Search titles only
By:
Forums
New posts
Search forums
What's new
New posts
Latest activity
Feedback
View Statistics
Members
Current visitors
Buy Sell Trade
WTB
Log in
Register
Search
Search titles only
By:
Search titles only
By:
New posts
Search forums
Menu
Install the app
Install
Reply to thread
Forums
Technology
Computer Software
Share your tips
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="chip_0" data-source="post: 8721" data-attributes="member: 243"><p>Some very common tips ...</p><p></p><p><strong>Resetting the root password</strong></p><p></p><p>If you have forgotten your root password, it is pretty difficult to recover it from within the installed system, but you can use a bootable linux cd or floppy to set it to blank.</p><p></p><p><em>Note - the cd/floppy's kernel should have support for components like your processor, hard drive and filesystem being used.</em></p><p></p><p>Basic instructions - Boot into your cd/floppy, and mount your linux / partition (or /etc if you created a seperate partition for that) at a partition point like /mnt. Edit the /mnt/etc/passwd file, and blank out the encrypted password in the line for the root user.</p><p></p><p>Detailed instructions - After booting the cd/floppy, mount your linux partition usng the command</p><p></p><p></p><p></p><p>Replace /dev/hda1 with the linux partition.</p><p></p><p>Incase this gives a problem recognising the filesystem, use the -t switch to specify the fs type, like ext2 or resierfs. Also make sure the directory /mnt exists, else create it.</p><p></p><p>Edit the file /mnt/etc/passwd with vi or any other editor</p><p></p><p></p><p></p><p>blank out the password field (it will possibly be marked with x), such that the line looks like</p><p></p><p></p><p></p><p>Note that the two colons after the first word "root" indicates a blanked out password.</p><p></p><p>Reboot into linux, login as root, you wont be asked a password. Use the passwd command to set a new password.</p></blockquote><p></p>
[QUOTE="chip_0, post: 8721, member: 243"] Some very common tips ... [b]Resetting the root password[/b] If you have forgotten your root password, it is pretty difficult to recover it from within the installed system, but you can use a bootable linux cd or floppy to set it to blank. [i]Note - the cd/floppy's kernel should have support for components like your processor, hard drive and filesystem being used.[/i] Basic instructions - Boot into your cd/floppy, and mount your linux / partition (or /etc if you created a seperate partition for that) at a partition point like /mnt. Edit the /mnt/etc/passwd file, and blank out the encrypted password in the line for the root user. Detailed instructions - After booting the cd/floppy, mount your linux partition usng the command Replace /dev/hda1 with the linux partition. Incase this gives a problem recognising the filesystem, use the -t switch to specify the fs type, like ext2 or resierfs. Also make sure the directory /mnt exists, else create it. Edit the file /mnt/etc/passwd with vi or any other editor blank out the password field (it will possibly be marked with x), such that the line looks like Note that the two colons after the first word "root" indicates a blanked out password. Reboot into linux, login as root, you wont be asked a password. Use the passwd command to set a new password. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Technology
Computer Software
Share your tips
Top
Bottom