<?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: Ownership in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ownership/m-p/2431378#M767813</link>
    <description>HI &lt;BR /&gt;Add following lines in your start up script.&lt;BR /&gt;su - oracle -c 'lsnrctl start'&lt;BR /&gt;su - oracle -c 'dbstart'&lt;BR /&gt;&lt;BR /&gt;similar for shutdown&lt;BR /&gt;&lt;BR /&gt;su - oracle -c 'lsnrctl stop'&lt;BR /&gt;su - oracle -c 'dbshut'&lt;BR /&gt;&lt;BR /&gt;Cheers.&lt;BR /&gt;&lt;BR /&gt;Prashant</description>
    <pubDate>Tue, 18 Jul 2000 15:54:20 GMT</pubDate>
    <dc:creator>Deshpande Prashant</dc:creator>
    <dc:date>2000-07-18T15:54:20Z</dc:date>
    <item>
      <title>Ownership</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ownership/m-p/2431376#M767811</link>
      <description>During startup I have a script I created  in /sbin/rc3.d that will start a database. The database starts with root as the owner and this is not acceptable. How can I change the ownership during a system startup script?&lt;BR /&gt;None of my shell script books talk about this.</description>
      <pubDate>Tue, 18 Jul 2000 15:17:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ownership/m-p/2431376#M767811</guid>
      <dc:creator>Jennifer Chiarelli</dc:creator>
      <dc:date>2000-07-18T15:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Ownership</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ownership/m-p/2431377#M767812</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Because your startup script run as root, you can use the 'su' command to 'substitute user'.&lt;BR /&gt;&lt;BR /&gt;Your startup script could contain for example following line:&lt;BR /&gt;&lt;BR /&gt;su - oracle -c &lt;ORACLE_STARTUP_SCRIPT&gt;&lt;/ORACLE_STARTUP_SCRIPT&gt;&lt;BR /&gt;See the su manpage for more details.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Rik.</description>
      <pubDate>Tue, 18 Jul 2000 15:48:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ownership/m-p/2431377#M767812</guid>
      <dc:creator>RikTytgat</dc:creator>
      <dc:date>2000-07-18T15:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Ownership</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ownership/m-p/2431378#M767813</link>
      <description>HI &lt;BR /&gt;Add following lines in your start up script.&lt;BR /&gt;su - oracle -c 'lsnrctl start'&lt;BR /&gt;su - oracle -c 'dbstart'&lt;BR /&gt;&lt;BR /&gt;similar for shutdown&lt;BR /&gt;&lt;BR /&gt;su - oracle -c 'lsnrctl stop'&lt;BR /&gt;su - oracle -c 'dbshut'&lt;BR /&gt;&lt;BR /&gt;Cheers.&lt;BR /&gt;&lt;BR /&gt;Prashant</description>
      <pubDate>Tue, 18 Jul 2000 15:54:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ownership/m-p/2431378#M767813</guid>
      <dc:creator>Deshpande Prashant</dc:creator>
      <dc:date>2000-07-18T15:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Ownership</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ownership/m-p/2431379#M767814</link>
      <description>I find it useful to also modify the $ORACLE_HOME/bin/dbshut script to perform "shutdown immediate" instead of only "shutdown". Otherwise you may be waiting a long time for all your database users to log out.</description>
      <pubDate>Tue, 18 Jul 2000 16:47:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ownership/m-p/2431379#M767814</guid>
      <dc:creator>Jim Mulshine</dc:creator>
      <dc:date>2000-07-18T16:47:45Z</dc:date>
    </item>
  </channel>
</rss>

