<?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: run script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/run-script/m-p/3486770#M214166</link>
    <description>how to make this script not to ask username and password???&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 17 Feb 2005 00:16:04 GMT</pubDate>
    <dc:creator>piyut_1</dc:creator>
    <dc:date>2005-02-17T00:16:04Z</dc:date>
    <item>
      <title>run script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/run-script/m-p/3486764#M214160</link>
      <description>dear,&lt;BR /&gt;&lt;BR /&gt;I have an application that will start with script startWeblogic.sh.I want this script automatically start when system boots to its multi user level.&lt;BR /&gt;I have placed this sript to /sbin/rc3.d.is it true??&lt;BR /&gt;for information,this script need username and password when run.&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;&lt;BR /&gt;-piyut-</description>
      <pubDate>Wed, 16 Feb 2005 02:14:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/run-script/m-p/3486764#M214160</guid>
      <dc:creator>piyut_1</dc:creator>
      <dc:date>2005-02-16T02:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: run script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/run-script/m-p/3486765#M214161</link>
      <description>Hi Piyut,&lt;BR /&gt;&lt;BR /&gt;You need to put the script in /sbin/init.d and then start it using the start script whose name is "S&lt;SEQ.NO.&gt;" and put this in /sbin/rc3.d.&lt;BR /&gt;&lt;BR /&gt;Similarly stop script will be in /sbin/rc0.d and it's name will like "K&lt;SEQ.NO.&gt;"&lt;BR /&gt;&lt;BR /&gt;If you have to provide Username/Password then you need to define varible with this and pass this variable to the calling script. Becuase it is not a good idea to make boot procedure interactive for your script.&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;BR /&gt;Regards,&lt;/SEQ.NO.&gt;&lt;/SEQ.NO.&gt;</description>
      <pubDate>Wed, 16 Feb 2005 02:25:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/run-script/m-p/3486765#M214161</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2005-02-16T02:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: run script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/run-script/m-p/3486766#M214162</link>
      <description>You can use su -c command to run this script as specific user.&lt;BR /&gt;&lt;BR /&gt;This script should be placed in /sbin/init.d directory and should have symbolic link to /sbin/rc3.d directory. In rc3.d script name should start with S .&lt;BR /&gt;&lt;BR /&gt;Sunil</description>
      <pubDate>Wed, 16 Feb 2005 02:27:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/run-script/m-p/3486766#M214162</guid>
      <dc:creator>Sunil Sharma_1</dc:creator>
      <dc:date>2005-02-16T02:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: run script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/run-script/m-p/3486767#M214163</link>
      <description>In your script in /etc/rc2.d which links to /etc/init.d&lt;BR /&gt;&lt;BR /&gt;please use something like&lt;BR /&gt;&lt;BR /&gt;/usr/bin/su - &lt;USERNAME&gt; -c `$DOMAIN_HOME/start.sh` 2&amp;gt;/dev/null  &lt;BR /&gt;&lt;BR /&gt;where DOMAIN_HOME will point to your domain directory where the weblogic startup script resides&lt;BR /&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Wed, 16 Feb 2005 02:45:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/run-script/m-p/3486767#M214163</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2005-02-16T02:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: run script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/run-script/m-p/3486768#M214164</link>
      <description>dear,&lt;BR /&gt;&lt;BR /&gt;there are informations in my server:&lt;BR /&gt;# ls /sbin/rc3.d/&lt;BR /&gt;S100nfs.server  S200tps.rc      S825apache      S941opcagt      S990dtlogin.rc&lt;BR /&gt;&lt;BR /&gt;now, i just put script "startWeblogicstart.sh" to /sbin/init.d. to make link. I run command &lt;BR /&gt;#ln -s /sbin/init.d/startWeblogic.sh /sbin/rc3.d/S900startWeblogic.sh&lt;BR /&gt;&lt;BR /&gt;is it true ???&lt;BR /&gt;&lt;BR /&gt;but, this script need provide USERNAME and PASSWORD.hostname for this server that will run this script is hqhpux80 and username that will be provide is weblogic and password weblogic.&lt;BR /&gt;&lt;BR /&gt;How can make this script so we don't need to provide username and password??&lt;BR /&gt;&lt;BR /&gt;thanks,</description>
      <pubDate>Wed, 16 Feb 2005 20:35:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/run-script/m-p/3486768#M214164</guid>
      <dc:creator>piyut_1</dc:creator>
      <dc:date>2005-02-16T20:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: run script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/run-script/m-p/3486769#M214165</link>
      <description>&amp;gt;#ln -s /sbin/init.d/startWeblogic.sh /sbin/rc3.d/S900startWeblogic.sh&lt;BR /&gt;&lt;BR /&gt;It is correct. Are you using start, stop kind of startup scripts. Look into other scripts and make your new script as same to that.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;but, this script need provide USERNAME and PASSWORD.hostname for this server that will run this script is hqhpux80 and username that will be provide is weblogic and password weblogic.&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;what kind of authentication and authorization. Is it your own one then it is easy. Else is it acceptable to give batch mode run.? If you can automate script without asking any question then that will be capable to put in boot-up scripts.&lt;BR /&gt;&lt;BR /&gt;HTH.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Feb 2005 23:53:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/run-script/m-p/3486769#M214165</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-02-16T23:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: run script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/run-script/m-p/3486770#M214166</link>
      <description>how to make this script not to ask username and password???&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Feb 2005 00:16:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/run-script/m-p/3486770#M214166</guid>
      <dc:creator>piyut_1</dc:creator>
      <dc:date>2005-02-17T00:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: run script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/run-script/m-p/3486771#M214167</link>
      <description>To stop the "su" command from asking the password, you'll have to run the script as root.</description>
      <pubDate>Thu, 17 Feb 2005 06:56:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/run-script/m-p/3486771#M214167</guid>
      <dc:creator>Gordon  Morrison</dc:creator>
      <dc:date>2005-02-17T06:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: run script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/run-script/m-p/3486772#M214168</link>
      <description>Mr gordon,&lt;BR /&gt;&lt;BR /&gt;i have tried to start manually as root but still need provide username and password.how come ?</description>
      <pubDate>Thu, 17 Feb 2005 22:38:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/run-script/m-p/3486772#M214168</guid>
      <dc:creator>piyut_1</dc:creator>
      <dc:date>2005-02-17T22:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: run script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/run-script/m-p/3486773#M214169</link>
      <description>Hi Piyut,&lt;BR /&gt;All I can think of is that the application you're starting with your script is asking for username &amp;amp; password. What happens when you try to start the application manually (without the script) as the owner of the application?&lt;BR /&gt;If it doesn't ask for the username &amp;amp; password when you do that, could you post the startup script?</description>
      <pubDate>Fri, 18 Feb 2005 05:21:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/run-script/m-p/3486773#M214169</guid>
      <dc:creator>Gordon  Morrison</dc:creator>
      <dc:date>2005-02-18T05:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: run script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/run-script/m-p/3486774#M214170</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I think there will be a Admin user for the particulation application which you are starting, as i understand it is weblogic. So if you login as that user . it will not ask you for authentication again&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Sreejith M&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Feb 2005 05:28:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/run-script/m-p/3486774#M214170</guid>
      <dc:creator>sreejith_4</dc:creator>
      <dc:date>2005-02-18T05:28:43Z</dc:date>
    </item>
  </channel>
</rss>

