<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
Rafael Ortiz wrote:
<blockquote
cite="mid:BANLkTi=ZCCpeqAdUjQeTRSrfri1q58szWg@mail.gmail.com"
type="cite">
<pre wrap="">On Fri, May 20, 2011 at 4:29 PM, Sascha Silbe <a class="moz-txt-link-rfc2396E" href="mailto:silbe@activitycentral.com"><silbe@activitycentral.com></a>wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Excerpts from Rafael Ortiz's message of Thu May 19 18:52:59 +0200 2011:
</pre>
<blockquote type="cite">
<pre wrap="">Temporaly Disabling become root button on terminal activity
avoiding problems reported SL#2756 and #2597, also in merge request on
</pre>
</blockquote>
<pre wrap="">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 wrap=""><!---->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>
Also It does not work in ubuntu based sugar distros where "sudo su" is
required<br>
<blockquote
cite="mid:BANLkTi=ZCCpeqAdUjQeTRSrfri1q58szWg@mail.gmail.com"
type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">[terminal.py]
</pre>
<blockquote type="cite">
<pre wrap="">@@ -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 wrap="">[...]
</pre>
<blockquote type="cite">
<pre wrap="">+ #root_button = ToolButton('activity-become-root')
+ #root_button.set_tooltip(_('Become root'))
</pre>
</blockquote>
<pre wrap="">[...]
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 wrap=""><!---->
</pre>
<blockquote type="cite">
<pre wrap="">Sascha
[1] <a class="moz-txt-link-freetext" href="https://bugs.sugarlabs.org/ticket/2597">https://bugs.sugarlabs.org/ticket/2597</a>
[2] <a class="moz-txt-link-freetext" href="https://bugs.sugarlabs.org/ticket/2756">https://bugs.sugarlabs.org/ticket/2756</a>
--
<a class="moz-txt-link-freetext" href="http://sascha.silbe.org/">http://sascha.silbe.org/</a>
<a class="moz-txt-link-freetext" href="http://www.infra-silbe.de/">http://www.infra-silbe.de/</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Sugar-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sugarlabs.org/listinfo/sugar-devel">http://lists.sugarlabs.org/listinfo/sugar-devel</a>
</pre>
</blockquote>
</body>
</html>