<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: howto start vpn client with PHP script via browser using sudo ? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/howto-start-vpn-client-with-php-script-via-browser-using-sudo/m-p/3161667#M9049</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I would assume with:&lt;BR /&gt;sudo -V | -h | -l | -L | -v | -k | -K | -s | [ -H ] [-P ] [-S ] [ -b ] | [ -p prompt ] [ -c class|- ] [ -a auth_type ] [ -u username|#uid ] command&lt;BR /&gt;&lt;BR /&gt;exec("sudo -u root /etc/init.d/vpnclient_init restart");&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 12 Jan 2004 09:51:30 GMT</pubDate>
    <dc:creator>Michael Schulte zur Sur</dc:creator>
    <dc:date>2004-01-12T09:51:30Z</dc:date>
    <item>
      <title>howto start vpn client with PHP script via browser using sudo ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/howto-start-vpn-client-with-php-script-via-browser-using-sudo/m-p/3161666#M9048</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;I wrote PHP script, to start vpnclient on my&lt;BR /&gt;linux server SuSE 8.2 :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$result = exec("ping -c 4 X.X.X.X");&lt;BR /&gt;&lt;BR /&gt;if ("$result?"!= "0") {&lt;BR /&gt;&lt;BR /&gt;exec("/etc/init.d/vpnclient_init restart");&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;?&amp;gt;&lt;BR /&gt;&lt;BR /&gt;from shell as root user this script is working well.&lt;BR /&gt;&lt;BR /&gt;but howto start vpnclient via browser with this script using sudo?&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;chris</description>
      <pubDate>Mon, 12 Jan 2004 07:42:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/howto-start-vpn-client-with-php-script-via-browser-using-sudo/m-p/3161666#M9048</guid>
      <dc:creator>'chris'</dc:creator>
      <dc:date>2004-01-12T07:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: howto start vpn client with PHP script via browser using sudo ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/howto-start-vpn-client-with-php-script-via-browser-using-sudo/m-p/3161667#M9049</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I would assume with:&lt;BR /&gt;sudo -V | -h | -l | -L | -v | -k | -K | -s | [ -H ] [-P ] [-S ] [ -b ] | [ -p prompt ] [ -c class|- ] [ -a auth_type ] [ -u username|#uid ] command&lt;BR /&gt;&lt;BR /&gt;exec("sudo -u root /etc/init.d/vpnclient_init restart");&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Jan 2004 09:51:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/howto-start-vpn-client-with-php-script-via-browser-using-sudo/m-p/3161667#M9049</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-01-12T09:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: howto start vpn client with PHP script via browser using sudo ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/howto-start-vpn-client-with-php-script-via-browser-using-sudo/m-p/3161668#M9050</link>
      <description>thanks&lt;BR /&gt;&lt;BR /&gt;it works.</description>
      <pubDate>Mon, 12 Jan 2004 10:22:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/howto-start-vpn-client-with-php-script-via-browser-using-sudo/m-p/3161668#M9050</guid>
      <dc:creator>'chris'</dc:creator>
      <dc:date>2004-01-12T10:22:42Z</dc:date>
    </item>
  </channel>
</rss>

