<?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: root access in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-access/m-p/2792197#M80022</link>
    <description>Ollie,&lt;BR /&gt;&lt;BR /&gt;SUID scripts WILL work provided certain rules are followed.  USe #!/sbin/sh as the first line, set path to trusted paths (i.e. PATH=/usr/bin:/usr/sbin), and chmod 4755.&lt;BR /&gt;</description>
    <pubDate>Fri, 23 Aug 2002 12:24:49 GMT</pubDate>
    <dc:creator>Tom Danzig</dc:creator>
    <dc:date>2002-08-23T12:24:49Z</dc:date>
    <item>
      <title>root access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-access/m-p/2792188#M80013</link>
      <description>Hi ALL:&lt;BR /&gt;&lt;BR /&gt;Oracle DBA is working on express server installtion. He says he needs to login as root to shutdown and startup the express server. The script checks if the user is not root i terminates. The documentation says the user should logon as root to run the startup script.&lt;BR /&gt;&lt;BR /&gt;We do not like anyone to get the root password. Is there any work around on this?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Aug 2002 19:11:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-access/m-p/2792188#M80013</guid>
      <dc:creator>sheevm</dc:creator>
      <dc:date>2002-08-22T19:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: root access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-access/m-p/2792189#M80014</link>
      <description>Raji,&lt;BR /&gt;&lt;BR /&gt;Install sudo which allows you to give root access to normal users. Search for sudo in HP software public domain as well as in this forum for more info.&lt;BR /&gt;&lt;BR /&gt;Hai</description>
      <pubDate>Thu, 22 Aug 2002 19:15:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-access/m-p/2792189#M80014</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2002-08-22T19:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: root access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-access/m-p/2792190#M80015</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can use sudo, free &amp;amp; downloadable from hp porting site to give your access to commands that can be run as root.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.6/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.6/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Or you can use licensed softwares like powerbroker, trial download available from their website,&lt;BR /&gt;&lt;A href="http://www.symark.com" target="_blank"&gt;http://www.symark.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Aug 2002 19:17:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-access/m-p/2792190#M80015</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-08-22T19:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: root access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-access/m-p/2792191#M80016</link>
      <description>sudo or super&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/" target="_blank"&gt;http://hpux.cs.utah.edu/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Sachin</description>
      <pubDate>Thu, 22 Aug 2002 19:18:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-access/m-p/2792191#M80016</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2002-08-22T19:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: root access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-access/m-p/2792192#M80017</link>
      <description>Yup, like the other person said, SUDO is the way to go.  Why?&lt;BR /&gt;sudo allows users to "su" to any other account provided that they have access to do so (defined by root).&lt;BR /&gt;SUDO supports ACL's, aliases, extensive logging, and more.&lt;BR /&gt;&lt;BR /&gt;I use sudo daily as engineers have to be able to mount cdroms in hp-ux.  (get with it HP, vold is where it's at he hem).  I wrote a script that lets them mount a cdrom, and umount the cdrom, so no more phone calls and whining!  ;)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Thu, 22 Aug 2002 19:19:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-access/m-p/2792192#M80017</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2002-08-22T19:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: root access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-access/m-p/2792193#M80018</link>
      <description>You could make the startup script SUID root&lt;BR /&gt;&lt;BR /&gt;chown root:bin &amp;lt;scriptname&amp;gt;&lt;BR /&gt;chmod 4755 &amp;lt;scriptname&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Not the wisest idea for security, however, it's better than giving out the root password in my opinion.</description>
      <pubDate>Thu, 22 Aug 2002 19:30:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-access/m-p/2792193#M80018</guid>
      <dc:creator>Tom Danzig</dc:creator>
      <dc:date>2002-08-22T19:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: root access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-access/m-p/2792194#M80019</link>
      <description>I would use the SUID script as well.&lt;BR /&gt;&lt;BR /&gt;Turn the startup and shutdown commands into a script.&lt;BR /&gt;&lt;BR /&gt;startexpress.sh&lt;BR /&gt;stopexpress.sh&lt;BR /&gt;&lt;BR /&gt;chown root:&lt;DBA group=""&gt; startexpress.sh &lt;BR /&gt;chmod 4550 startexpress.sh&lt;BR /&gt;&lt;BR /&gt;====&lt;BR /&gt;&lt;BR /&gt;I tired to do a little more research on the Orale side about Express Server .. and everything I can find also says that the 'Service' has to be started as root.&lt;BR /&gt;&lt;BR /&gt;Steve&lt;/DBA&gt;</description>
      <pubDate>Fri, 23 Aug 2002 03:28:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-access/m-p/2792194#M80019</guid>
      <dc:creator>SteveKirby</dc:creator>
      <dc:date>2002-08-23T03:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: root access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-access/m-p/2792195#M80020</link>
      <description>Hi Raji,&lt;BR /&gt;&lt;BR /&gt;Using setuid on shell scripts does not work. This is a security loophole that was closed many years ago. Setuid only works on binaries. (To prove, try running a root-setuid script as another user that does an "id" command or a "whoami" command).&lt;BR /&gt;&lt;BR /&gt;As far as I can see you need to do 2 things:&lt;BR /&gt;&lt;BR /&gt;  * create or use a DBA user on your system and add this to /etc/shutdown.allow - a standard feature of HP-UX&lt;BR /&gt;&lt;BR /&gt;  * use SUDO (or some other equivalent) to run the ORACLE installation - indeed you must be root to run the installation&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;Ollie.</description>
      <pubDate>Fri, 23 Aug 2002 04:21:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-access/m-p/2792195#M80020</guid>
      <dc:creator>Ollie R</dc:creator>
      <dc:date>2002-08-23T04:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: root access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-access/m-p/2792196#M80021</link>
      <description>In a previous thread, "asroot" type command was requested.&lt;BR /&gt;I suugested a solution we use here,i.e. have a C program that callls the script.&lt;BR /&gt;the binary will be ownned by root with setuid bit. &lt;BR /&gt;+ use ACL to protect the binary.&lt;BR /&gt;&lt;BR /&gt;check :&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x4b0857bd90a9d611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x4b0857bd90a9d611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Fri, 23 Aug 2002 07:22:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-access/m-p/2792196#M80021</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2002-08-23T07:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: root access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-access/m-p/2792197#M80022</link>
      <description>Ollie,&lt;BR /&gt;&lt;BR /&gt;SUID scripts WILL work provided certain rules are followed.  USe #!/sbin/sh as the first line, set path to trusted paths (i.e. PATH=/usr/bin:/usr/sbin), and chmod 4755.&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Aug 2002 12:24:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-access/m-p/2792197#M80022</guid>
      <dc:creator>Tom Danzig</dc:creator>
      <dc:date>2002-08-23T12:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: root access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-access/m-p/2792198#M80023</link>
      <description>Install sudo then set up this user so that he can only execute the startup and shutdown scripts.&lt;BR /&gt;&lt;BR /&gt;Sudu runs the command as root, but the user never has the root password.&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Aug 2002 12:57:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-access/m-p/2792198#M80023</guid>
      <dc:creator>Sean OB_1</dc:creator>
      <dc:date>2002-08-23T12:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: root access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-access/m-p/2792199#M80024</link>
      <description>sudo is one solution, you have been given a lot of suggestions on this; another one is SCM, which supported by HP, you can find the details from &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B8339-90030/B8339-90030_top.html&amp;amp;con=/hpux/onlinedocs/B8339-90030/00/00/7-con.html&amp;amp;toc=/hpux/onlinedocs/B8339-90030/00/00/7-toc.html&amp;amp;searchterms=scm&amp;amp;queryid=20020823-070205" target="_blank"&gt;http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B8339-90030/B8339-90030_top.html&amp;amp;con=/hpux/onlinedocs/B8339-90030/00/00/7-con.html&amp;amp;toc=/hpux/onlinedocs/B8339-90030/00/00/7-toc.html&amp;amp;searchterms=scm&amp;amp;queryid=20020823-070205&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Aug 2002 12:57:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-access/m-p/2792199#M80024</guid>
      <dc:creator>Victor_5</dc:creator>
      <dc:date>2002-08-23T12:57:59Z</dc:date>
    </item>
  </channel>
</rss>

