<div class="gmail_quote">On Sat, Aug 8, 2009 at 7:32 PM, Tomeu Vizoso <span dir="ltr"><<a href="mailto:tomeu@sugarlabs.org">tomeu@sugarlabs.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Sat, Aug 8, 2009 at 11:55, Bill Kerr<<a href="mailto:billkerr@gmail.com">billkerr@gmail.com</a>> wrote:<br>
> thanks Tomeu (for the linux pointers too)<br>
> sadly I cannot complete the sugar modification tutorial<br>
> I keep getting messages like "liveuser is not in the sudoers file" and<br>
> "Permission denied" for example when I try to make a backup file with cp<br>
> SoaS is acting more like a live CD when it comes to linux commands<br>
> Very sad - my students won't be able to hack the system :-(<br>
<br>
</div>Yeah, Fedora (and I guess other distros) doesn't ship with sudo<br>
activated by default :(<br>
<br>
But you should be able to do the same by using su instead of sudo:<br>
<br>
su -c 'cp somefile /etc/.'<br>
<br>
Or "su -" to get into a root shell.</blockquote><div><br></div><div>excellent - they both worked :-)</div><div><br></div><div>that makes a huge difference for my course plans -- thanks tomeu</div><div><br></div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
<br>
I have heard that latest experimental SoaS images have sudo installed<br>
by default, so in the next release sudo will work fine in SoaS as<br>
well.<br>
<br>
Regards,<br>
<font color="#888888"><br>
Tomeu<br>
</font><div><div></div><div class="h5"><br>
> On Sat, Aug 8, 2009 at 6:10 PM, Tomeu Vizoso <<a href="mailto:tomeu@sugarlabs.org">tomeu@sugarlabs.org</a>> wrote:<br>
>><br>
>> On Sat, Aug 8, 2009 at 07:47, Bill Kerr<<a href="mailto:billkerr@gmail.com">billkerr@gmail.com</a>> wrote:<br>
>> > <a href="http://en.flossmanuals.net/Sugar/ModifyingSugar" target="_blank">http://en.flossmanuals.net/Sugar/ModifyingSugar</a><br>
>> ><br>
>> > 4. The Home View code is in /usr/share/sugar/shell/view/Home. Type this<br>
>> > command and press enter:<br>
>> ><br>
>> > cd /usr/share/sugar/shell/view/home<br>
>> ><br>
>> > the paths have changed for SoaS<br>
>> > I spent some time looking for favoritesview.py couldn't find it<br>
>> > I tried some recursive searches but my grasp of linux command line is<br>
>> > limited or perhaps the files have changed name too?<br>
>> > can someone tell me where to find favoritesview.py<br>
>> > I'm happy to edit the tutorial once I know the changes<br>
>><br>
>> Hi Bill,<br>
>><br>
>> the shell sources have been moved from /usr/share/sugar/shell to<br>
>> /usr/lib/python2.6/site-packages/jarabe.<br>
>><br>
>> But there have been other file layout changes inside the shell, these<br>
>> commands should help you find stuff:<br>
>><br>
>> find /usr -iname favoritesview.py<br>
>> find /usr/lib/python2.6/site-packages/jarabe -iname \*.py<br>
>> grep -R "class FavoritesView" /usr/lib/python2.6/site-packages/jarabe<br>
>><br>
>> Regards,<br>
>><br>
>> Tomeu<br>
>><br>
>> > thanks<br>
>> ><br>
>> > _______________________________________________<br>
>> > IAEP -- It's An Education Project (not a laptop project!)<br>
>> > <a href="mailto:IAEP@lists.sugarlabs.org">IAEP@lists.sugarlabs.org</a><br>
>> > <a href="http://lists.sugarlabs.org/listinfo/iaep" target="_blank">http://lists.sugarlabs.org/listinfo/iaep</a><br>
>> ><br>
><br>
><br>
><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Bill Kerr<br><a href="http://billkerr2.blogspot.com/">http://billkerr2.blogspot.com/</a><br>