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> &lt;<a href="mailto:andrew@bleb.org">
andrew@bleb.org</a>&gt; 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 &lt;<a href="mailto:amichai@iglu.org.il">
amichai@iglu.org.il</a>&gt; wrote:<br>&gt;<br>&gt; #!/bin/sh -e<br>&gt; trap exit SIGHUP SIGINT SIGTERM<br>&gt; PATH=/bin:/usr/bin:/sbin:/usr/sbin<br>&gt; #MODE=`/usr/sbin/chroot /mnt/initfs cal-tool --get-rd-mode`<br>&gt; #if [ x$MODE = xenabled ]
<br>&gt; #then<br>&gt; #&nbsp;&nbsp;&nbsp;&nbsp;echo &quot;Root shell enabled&quot;<br>&gt; #&nbsp;&nbsp;&nbsp;&nbsp;/bin/sh<br>^^^^^^^^^^^^^^<br>&gt; #else<br>&gt; #&nbsp;&nbsp;&nbsp;&nbsp;echo &quot;Enable RD mode if you want to break your device&quot;<br>&gt; #fi<br>&gt;<br>[snip]
<br>&gt;<br>&gt; Any idea how I can gainroot again? I want to run the solution without the<br>&gt; editor.<br>&gt;<br>&gt; 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&amp;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&amp;D mode?<br><br>HTH,<br><br>Andrew<br><br>--<br>
Andrew Flegg -- mailto:<a href="mailto:andrew@bleb.org">andrew@bleb.org</a>&nbsp;&nbsp;|&nbsp;&nbsp;<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>-----------------------------------------------------------------------------------------------------------