<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://www.linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Tue May 21, 2013 2:08 pm by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Tue May 21, 2013 2:08 pm</pubDate>
  <lastBuildDate>Tue May 21, 2013 2:08 pm</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://www.linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>Re: scripts to automate tasks</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=669#669</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=25'&gt;M0PHP&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Fri Apr 15, 2005 8:14 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Make sure you make the script executable afterwards using chmod +x or by running `bash /path/to/script.sh` or something to that effect.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=669#669</comments>
                                        <author>M0PHP</author>
                                        <pubDate>Fri Apr 15, 2005 8:14 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=669#669</guid>
                                      </item>
                                      <item>
                                        <title>RE: scripts to automate tasks</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=654#654</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=5'&gt;nelz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Fri Apr 15, 2005 2:42 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      &lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
first command&lt;br /&gt;
su -c &amp;quot;second command&amp;quot;&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
If you want to do this without it asking for the root password, you'll need to investigate sudo. man sudo gives a good explanation of how it works and the config file is well comented with examples.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=654#654</comments>
                                        <author>nelz</author>
                                        <pubDate>Fri Apr 15, 2005 2:42 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=654#654</guid>
                                      </item>
                                      <item>
                                        <title>scripts to automate tasks</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=648#648</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=372'&gt;fibreshouse&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Fri Apr 15, 2005 2:06 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I'm using synce to talk to my Ipaq but it requires various commands to setup properly.&lt;br /&gt;
I know that you can script these but am having problems understanding how to write a script that will send a comand as user then a second command as SU.&lt;br /&gt;
I know it'll be fairly simple but I'm haviong real brain fade.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=648#648</comments>
                                        <author>fibreshouse</author>
                                        <pubDate>Fri Apr 15, 2005 2:06 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=648#648</guid>
                                      </item></channel></rss>