<br><br><div class="gmail_quote">On Fri, May 20, 2011 at 6:23 PM, Thomas C Gilliard <span dir="ltr"><<a href="mailto:satellit@bendbroadband.com">satellit@bendbroadband.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000"><div class="im">
<br>
<br>
Rafael Ortiz wrote:
<blockquote type="cite">
<pre>On Fri, May 20, 2011 at 4:29 PM, Sascha Silbe <a href="mailto:silbe@activitycentral.com" target="_blank"><silbe@activitycentral.com></a>wrote:
</pre>
<blockquote type="cite">
<pre>Excerpts from Rafael Ortiz's message of Thu May 19 18:52:59 +0200 2011:
</pre>
<blockquote type="cite">
<pre>Temporaly Disabling become root button on terminal activity
avoiding problems reported SL#2756 and #2597, also in merge request on
</pre>
</blockquote>
<pre>gitorious
CC'ing Gary and Walter to discuss the UI side of this.
As discussed in both tickets [1,2] we might want to get rid of this
button permanently - at least in its current form. It's dangerous
(kills the currently running process(es)) and just a shorthand for
"su -".
While getting rid of the button without any replacement would make root
access less easy to discover, I'd argue that without a minimal
introduction the shell functionality is equally "hard" to discover. The
same minimal introduction (/etc/motd?) could mention "sudo -i".
</pre>
</blockquote>
<pre>Thanks for the review Sasha, I also think we will need further introductions
on how to become root, although at this moment I don't know how to add this
from the activity itself without having a mod on the os, IIRC olpc's term
had this info along with a ''welcome children of the world'' intro ,
although dextrose don't. (I might be wrong though), ideas welcomed.
</pre>
</blockquote></div>
Also It does not work in ubuntu based sugar distros where "sudo su" is
required<br>
<blockquote type="cite"><div class="im">
<pre> </pre>
<blockquote type="cite">
<pre>[terminal.py]
</pre>
<blockquote type="cite">
<pre>@@ -86,17 +86,17 @@ class TerminalActivity(activity.Activity):
tab_toolbar_button.show()
# Add a button that will be used to become root easily.
- root_button = ToolButton('activity-become-root')
- root_button.set_tooltip(_('Become root'))
</pre>
</blockquote>
<pre>[...]
</pre>
<blockquote type="cite">
<pre>+ #root_button = ToolButton('activity-become-root')
+ #root_button.set_tooltip(_('Become root'))
</pre>
</blockquote>
<pre>[...]
Please just remove the lines. If we want to bring them back later, we
can just revert the patch. That's what a VCS is for after all.
Right!.
</pre>
</blockquote>
<pre> </pre>
<blockquote type="cite">
<pre>Sascha
[1] <a href="https://bugs.sugarlabs.org/ticket/2597" target="_blank">https://bugs.sugarlabs.org/ticket/2597</a>
[2] <a href="https://bugs.sugarlabs.org/ticket/2756" target="_blank">https://bugs.sugarlabs.org/ticket/2756</a>
--
<a href="http://sascha.silbe.org/" target="_blank">http://sascha.silbe.org/</a>
<a href="http://www.infra-silbe.de/" target="_blank">http://www.infra-silbe.de/</a>
</pre>
</blockquote>
<pre> </pre>
</div><pre><hr size="4" width="90%"><div class="im">
_______________________________________________
Sugar-devel mailing list
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a>
</div></pre>
</blockquote>
</div>
</blockquote></div>+1<br><br>I am not a fan of the button. The bottom line is that anyone who is doing something that requires root access should presumably be comfortable typing su on the command line.<br><br>That said, we should think about the class of things we want kids to do without having to be root, such as modify Sugar, and how to make those things easier. (For example, I am experimenting with a view-source patch that will offer to copy an activity but since we don't have view source available for Sugar itself yet, it would be require copying site-packages/sugar and jarabe to $HOME and modifying sys.path to make changes without root access.)<br>
<br>regards.<br><br>-walter<br clear="all"><br>-- <br>Walter Bender<br>Sugar Labs<br><a href="http://www.sugarlabs.org">http://www.sugarlabs.org</a><br><br>