Thanks Andrew,<br><br>Can someone fix the guide, maybe to a step-by-step guide so it is clearer?<br><br>Shuould I just follow the no editor instructions?<br><br>Can any of you post the file as it sould be?<br><br>Should I just follow the sudoers instructions?
<br><br>If I follow the sudoers instructions now, before re-flashing, will it work?<br><br>Thanks!<br><br><br><div><span class="gmail_quote">On 4/13/06, <b class="gmail_sendername">Andrew Flegg</b> <<a href="mailto:andrew@bleb.org">
andrew@bleb.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 4/13/06, Amichai Rotman <<a href="mailto:amichai@iglu.org.il">
amichai@iglu.org.il</a>> wrote:<br>><br>> #!/bin/sh -e<br>> trap exit SIGHUP SIGINT SIGTERM<br>> PATH=/bin:/usr/bin:/sbin:/usr/sbin<br>> #MODE=`/usr/sbin/chroot /mnt/initfs cal-tool --get-rd-mode`<br>> #if [ x$MODE = xenabled ]
<br>> #then<br>> # echo "Root shell enabled"<br>> # /bin/sh<br>^^^^^^^^^^^^^^<br>> #else<br>> # echo "Enable RD mode if you want to break your device"<br>> #fi<br>><br>[snip]
<br>><br>> Any idea how I can gainroot again? I want to run the solution without the<br>> editor.<br>><br>> Do I have to re-install the software (update)?<br><br>You'll have to reflash. Your `gainroot' now does nothing (as you've seen),
<br>it needs to start a subshell, but the line is commented out (highlighted<br>above).<br><br>Editing gainroot needs great care and attention, personally I find<br>leaving the device in R&D mode much simpler and less prone to problem.
<br>Given the number of users who've had problems following the convoluted<br>instructions on the wiki, perhaps they should be changed to suggest<br>leaving the device in R&D mode?<br><br>HTH,<br><br>Andrew<br><br>--<br>
Andrew Flegg -- mailto:<a href="mailto:andrew@bleb.org">andrew@bleb.org</a> | <a href="http://www.bleb.org/">http://www.bleb.org/</a><br></blockquote></div><br><br clear="all"><br>-- <br>:====================================================:.
<br><br>Amichai Rotman<br><br>UIN#: 6401746<br>Registered Linux User#: 201192 [<a href="http://counter.li.org/">http://counter.li.org/</a>]<br><br>------------------------------------------------------------------------------------------------------------
<br><br>PLEASE READ: <a href="http://www.gnu.org/philosophy/no-word-attachments.html">http://www.gnu.org/philosophy/no-word-attachments.html</a><br><br>-----------------------------------------------------------------------------------------------------------