<div dir="ltr"><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif">I think i recall you working with Linux Mint, but this should be reasonably close for most *buntu/debian related builds.</div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif"><br></div><div class="gmail_default" style><font face="trebuchet ms, sans-serif"><a href="http://community.linuxmint.com/tutorial/view/339">http://community.linuxmint.com/tutorial/view/339</a></font><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 27, 2015 at 12:37 PM, Michael Havens <span dir="ltr"><<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I haven't changed anything yet but in my trial run on the computer I do not want to change anything on it asked me for the new password.<div> These are the instructions I followed:</div><div><br></div><div><span class=""><div>Just use GRUB to boot into single user mode / recovery mode.</div><div><br></div></span><div>(1) At grub boot screen (after restart)</div><div>(2) Select the kernel</div><div>(3) Press the e key to edit the entry</div><div>(4) Select line starting with the word kernel or linux</div><div>(6) Append the letter S (or word Single) to the end of the (kernel) line<br></div><span class=""><div>Append init=/bin/sh to the kernel command line</div></span><div>cntrl-X</div><div> then mount the root filesystem (if it isn't already done for you) and run passwd to reset the root password or passwd user to reset user's password.</div><div><br></div></div></div><div class="gmail_extra"><br clear="all"><div><div>:-)~MIKE~(-:</div></div><div><div class="h5">
<br><div class="gmail_quote">On Wed, May 27, 2015 at 8:06 AM, Stephen Partington <span dir="ltr"><<a href="mailto:cryptworks@gmail.com" target="_blank">cryptworks@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">This works great on Linux based systems. But on something running Linux you will need to hash the registry and reset the password. There is a tool to do this if there are any local users present. (does not work on active directory accounts).</p>
<div class="gmail_quote"><div><div>On May 27, 2015 7:17 AM, "Michael Havens" <<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><p style="color:rgb(0,0,0)"><font face="times new roman, serif" size="4">I got a friend upon whose computer (old XP) I installed Linux. She called me last night  because she forgot the password. Well, I asked the Florida user group about what to do and this is what they had to say:</font></p><p style="color:rgb(0,0,0)"><font face="times new roman, serif" size="4"><br></font></p><p style="color:rgb(0,0,0)"><font face="times new roman, serif" size="4">Just use GRUB to boot into single user mode / recovery mode.<br></font></p><p style="color:rgb(0,0,0)"><font face="times new roman, serif" size="4">Append <em>init=/bin/sh</em> to the kernel command line, then mount the root filesystem (if it isn't already done for you) and run <em>passwd </em>to reset the root password or <em>password user </em>to reset user's password.<br></font></p><div><p style="color:rgb(0,0,0)"><a href="http://www.debuntu.org/how-to-recover-root-password-under-linux-with-single-user-mode/" target="_blank"><font face="times new roman, serif" size="4"><br>http://www.debuntu.org/how-to-recover-root-password-under-linux-with-single-user-mode/</font></a></p></div><div><font face="times new roman, serif" size="4">I'd bring a CD containing System Rescue CD just in case.<br><br><a href="http://www.sysresccd.org/SystemRescueCd_Homepage" target="_blank">http://www.sysresccd.org/SystemRescueCd_Homepage</a><br><br>By the way, you can bust back into borked VMs with System Rescue CD ISO<br>files, too.<br><br>By the way, if you use System Rescue CD, do something like this,<br>assuming her / is the mountpoint for /dev/sda1:<br><br>mount /dev/sda1 /mnt<br>chroot /mnt/ bash<br>cd /etc<br>vi passwd<br><br>Now delete the x between the first and second colons, for both user<br>root and her ordinary username, then quit vi<br><br>exit<br>umount /mnt<br>reboot<br><br>Now, when asked for her password, leave it blank and she'll get in.<br>Then she can change her password as desired. Same thing's true the<br>first time she logs in as root.<br><br>If she's not trustworthy enough to leave with blank passwords, you<br>could probably use the passwd program after the chroot to change the<br>passwords.<br></font></div><div><div><font face="times new roman, serif" size="4">:-)~MIKE~(-:</font></div></div>
</div>
<br></div></div>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div>
<br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div><br></div></div></div>
<br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">A mouse trap, placed on top of your alarm clock, will prevent you from rolling over and going back to sleep after you hit the snooze button.<br><br>Stephen<br><br></div>
</div>