<?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: Oracle SQLPLUS - permission denied on &amp;quot;/dev/null&amp;quot; in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-sqlplus-permission-denied-on-quot-dev-null-quot/m-p/2760900#M945282</link>
    <description>Thanks for the replies ...&lt;BR /&gt;&lt;BR /&gt;/home/ke1716&amp;gt;echo $EDITOR&lt;BR /&gt;vi&lt;BR /&gt;/home/ke1716&amp;gt;ls -l /usr/bin/vi&lt;BR /&gt;-r-xr-xr-t   root   bin&lt;BR /&gt;/home/ke1716&amp;gt;ls -l afiedt.buf&lt;BR /&gt;-rwxrwxrwx   ke1716 other&lt;BR /&gt;&lt;BR /&gt;/home/ke1716&amp;gt;cat login.sql&lt;BR /&gt;...&lt;BR /&gt;define _editor=vi&lt;BR /&gt;...&lt;BR /&gt;set sqlprompt '&amp;amp;gname&amp;gt; '&lt;BR /&gt;&lt;BR /&gt;I know the file login.sql is used as my sqlplus prompt is set correctly&lt;BR /&gt;&lt;BR /&gt;I am just a humble User on this machine ( ke1716 ), I don't have the permissions to recreate /dev/null. But if thats what is required I will get it done. But, what about this ...&lt;BR /&gt;&lt;BR /&gt;sqlplus system/manager&lt;BR /&gt;&amp;gt;host date&lt;BR /&gt;/dev/null: Permission denied&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Steve&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 10 Jul 2002 13:03:15 GMT</pubDate>
    <dc:creator>Stephen Keogh</dc:creator>
    <dc:date>2002-07-10T13:03:15Z</dc:date>
    <item>
      <title>Oracle SQLPLUS - permission denied on "/dev/null"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-sqlplus-permission-denied-on-quot-dev-null-quot/m-p/2760895#M945277</link>
      <description>Oracle 8i 8.1.7.3.0 64bit on HP-UX 11.00 64bit&lt;BR /&gt;&lt;BR /&gt;SQLPLUS&lt;BR /&gt;&amp;gt;select 'abc'&lt;BR /&gt;2 from dual&lt;BR /&gt;;&lt;BR /&gt;'AB&lt;BR /&gt;---&lt;BR /&gt;abc&lt;BR /&gt;&amp;gt;edit&lt;BR /&gt;Wrote file afiedt.buf&lt;BR /&gt;/dev/null: Permission denied&lt;BR /&gt;&amp;gt;exit&lt;BR /&gt;&lt;BR /&gt;&amp;gt;ls -l afiedt.buf&lt;BR /&gt;-rwxrwxrwx &lt;BR /&gt;&amp;gt;ls -l /dev/null&lt;BR /&gt;crw-rw-rw-&lt;BR /&gt;&amp;gt;cat &amp;gt;/dev/null&lt;BR /&gt;abc&lt;BR /&gt;Cntrl-d&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;cat login.sql&lt;BR /&gt;...&lt;BR /&gt;define _editor=vi&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;Any ideas, suggestions welcome&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 10 Jul 2002 10:58:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-sqlplus-permission-denied-on-quot-dev-null-quot/m-p/2760895#M945277</guid>
      <dc:creator>Stephen Keogh</dc:creator>
      <dc:date>2002-07-10T10:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle SQLPLUS - permission denied on "/dev/null"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-sqlplus-permission-denied-on-quot-dev-null-quot/m-p/2760896#M945278</link>
      <description>check the permissions for /dev/null&lt;BR /&gt;&lt;BR /&gt;crw-rw-rw-   1 bin        bin          3 0x000002 Jul 10 17:49 /dev/null&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jul 2002 11:10:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-sqlplus-permission-denied-on-quot-dev-null-quot/m-p/2760896#M945278</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-07-10T11:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle SQLPLUS - permission denied on "/dev/null"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-sqlplus-permission-denied-on-quot-dev-null-quot/m-p/2760897#M945279</link>
      <description>Thanks for your reply ...&lt;BR /&gt;&lt;BR /&gt;The output from ls -l /dev/null is given in my original posting&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 10 Jul 2002 11:14:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-sqlplus-permission-denied-on-quot-dev-null-quot/m-p/2760897#M945279</guid>
      <dc:creator>Stephen Keogh</dc:creator>
      <dc:date>2002-07-10T11:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle SQLPLUS - permission denied on "/dev/null"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-sqlplus-permission-denied-on-quot-dev-null-quot/m-p/2760898#M945280</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;hmmmm funny thing going on ...&lt;BR /&gt;&lt;BR /&gt;"edit" in SQL*Plus saves the commands to your editfile (default is afiedt.buf), then uses the defined editor to edit this file and afterwards reads the editfile into the command buffer.&lt;BR /&gt;&lt;BR /&gt;- the save seems to work&lt;BR /&gt;- start of the editor probably gives the "Permission denied" error.&lt;BR /&gt;&lt;BR /&gt;Things to check:&lt;BR /&gt;- which editor is being used&lt;BR /&gt;- editor executable linked to /dev/null??&lt;BR /&gt;Have a look in that direction.&lt;BR /&gt;&lt;BR /&gt;good luck,&lt;BR /&gt;Thierry.</description>
      <pubDate>Wed, 10 Jul 2002 11:32:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-sqlplus-permission-denied-on-quot-dev-null-quot/m-p/2760898#M945280</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2002-07-10T11:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle SQLPLUS - permission denied on "/dev/null"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-sqlplus-permission-denied-on-quot-dev-null-quot/m-p/2760899#M945281</link>
      <description>set the default editor as vi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;EDITOR=vi&lt;BR /&gt;export EDITOR&lt;BR /&gt;&lt;BR /&gt;check your permissions of vi&lt;BR /&gt;&lt;BR /&gt;-r-xr-xr-t   6 bin        bin         249856 Jan 16  1998 /usr/bin/vi&lt;BR /&gt;&lt;BR /&gt;afiedt.buf is owned by user oracle.&lt;BR /&gt;&lt;BR /&gt;Try also re-creating your /dev/null file&lt;BR /&gt;&lt;BR /&gt;#rm -f /dev/null&lt;BR /&gt;#insf -d mm&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jul 2002 12:09:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-sqlplus-permission-denied-on-quot-dev-null-quot/m-p/2760899#M945281</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-07-10T12:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle SQLPLUS - permission denied on "/dev/null"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-sqlplus-permission-denied-on-quot-dev-null-quot/m-p/2760900#M945282</link>
      <description>Thanks for the replies ...&lt;BR /&gt;&lt;BR /&gt;/home/ke1716&amp;gt;echo $EDITOR&lt;BR /&gt;vi&lt;BR /&gt;/home/ke1716&amp;gt;ls -l /usr/bin/vi&lt;BR /&gt;-r-xr-xr-t   root   bin&lt;BR /&gt;/home/ke1716&amp;gt;ls -l afiedt.buf&lt;BR /&gt;-rwxrwxrwx   ke1716 other&lt;BR /&gt;&lt;BR /&gt;/home/ke1716&amp;gt;cat login.sql&lt;BR /&gt;...&lt;BR /&gt;define _editor=vi&lt;BR /&gt;...&lt;BR /&gt;set sqlprompt '&amp;amp;gname&amp;gt; '&lt;BR /&gt;&lt;BR /&gt;I know the file login.sql is used as my sqlplus prompt is set correctly&lt;BR /&gt;&lt;BR /&gt;I am just a humble User on this machine ( ke1716 ), I don't have the permissions to recreate /dev/null. But if thats what is required I will get it done. But, what about this ...&lt;BR /&gt;&lt;BR /&gt;sqlplus system/manager&lt;BR /&gt;&amp;gt;host date&lt;BR /&gt;/dev/null: Permission denied&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Steve&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jul 2002 13:03:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-sqlplus-permission-denied-on-quot-dev-null-quot/m-p/2760900#M945282</guid>
      <dc:creator>Stephen Keogh</dc:creator>
      <dc:date>2002-07-10T13:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle SQLPLUS - permission denied on "/dev/null"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-sqlplus-permission-denied-on-quot-dev-null-quot/m-p/2760901#M945283</link>
      <description>BINGO!!!!&lt;BR /&gt;&lt;BR /&gt;Check your SHELL variable!  It is set to /dev/null, probably to prevent users to execute OS commands from within an application.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Thierry.</description>
      <pubDate>Wed, 10 Jul 2002 13:14:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-sqlplus-permission-denied-on-quot-dev-null-quot/m-p/2760901#M945283</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2002-07-10T13:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle SQLPLUS - permission denied on "/dev/null"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-sqlplus-permission-denied-on-quot-dev-null-quot/m-p/2760902#M945284</link>
      <description>Thanks for the reply &lt;BR /&gt;&lt;BR /&gt;Yes, you are right, my SHELL is /dev/null&lt;BR /&gt;&amp;gt;/home/ke1716&amp;gt;echo $SHELL&lt;BR /&gt;/dev/null&lt;BR /&gt;&amp;gt;/home/ke1716&amp;gt;export SHELL=/usr/bin/ksh&lt;BR /&gt;SHELL is read only&lt;BR /&gt;&lt;BR /&gt;As you suggest, this is some kind of security restriction I was not aware of. I will take this up with our Unix security people.&lt;BR /&gt;Points will be awarded, many thanks to all who have helped me today.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Steve&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jul 2002 13:47:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-sqlplus-permission-denied-on-quot-dev-null-quot/m-p/2760902#M945284</guid>
      <dc:creator>Stephen Keogh</dc:creator>
      <dc:date>2002-07-10T13:47:20Z</dc:date>
    </item>
  </channel>
</rss>

