<?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: su problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/su-problem/m-p/3500333#M216495</link>
    <description>Install sudo and then set sudoers file (with visudo command)&lt;BR /&gt;&lt;BR /&gt;backora (oracle) ALL= NOPASSWD "su - oracle"&lt;BR /&gt;&lt;BR /&gt;Check man page for details.</description>
    <pubDate>Tue, 08 Mar 2005 14:57:37 GMT</pubDate>
    <dc:creator>RAC_1</dc:creator>
    <dc:date>2005-03-08T14:57:37Z</dc:date>
    <item>
      <title>su problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-problem/m-p/3500329#M216491</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a user backora and i need that user do  su - oracle without asking for password. can you help?&lt;BR /&gt;Thanks.</description>
      <pubDate>Tue, 08 Mar 2005 13:23:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-problem/m-p/3500329#M216491</guid>
      <dc:creator>uadm26</dc:creator>
      <dc:date>2005-03-08T13:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: su problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-problem/m-p/3500330#M216492</link>
      <description>Joel,&lt;BR /&gt;&lt;BR /&gt;You can use sudo to do that.&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Mar 2005 13:26:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-problem/m-p/3500330#M216492</guid>
      <dc:creator>Rajeev Tyagi</dc:creator>
      <dc:date>2005-03-08T13:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: su problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-problem/m-p/3500331#M216493</link>
      <description>Joel,&lt;BR /&gt;&lt;BR /&gt;Yes, sudo is your answer:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.8p6/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.8p6/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 08 Mar 2005 13:28:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-problem/m-p/3500331#M216493</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-03-08T13:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: su problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-problem/m-p/3500332#M216494</link>
      <description>How Rajeev</description>
      <pubDate>Tue, 08 Mar 2005 13:28:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-problem/m-p/3500332#M216494</guid>
      <dc:creator>uadm26</dc:creator>
      <dc:date>2005-03-08T13:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: su problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-problem/m-p/3500333#M216495</link>
      <description>Install sudo and then set sudoers file (with visudo command)&lt;BR /&gt;&lt;BR /&gt;backora (oracle) ALL= NOPASSWD "su - oracle"&lt;BR /&gt;&lt;BR /&gt;Check man page for details.</description>
      <pubDate>Tue, 08 Mar 2005 14:57:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-problem/m-p/3500333#M216495</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-03-08T14:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: su problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-problem/m-p/3500334#M216496</link>
      <description>If your company frowns on third party software on your system (like mine does), then you can also use restricted-SAM for this.  Set backora up so that they are a SAM user (this can be done by running sam -r as root and then adding their ID in as instructed).  Then create a Custom App that will execute "su - oracle" as root.  Save the profile so that only her ID can run this script.  When backora logs in and executes SAM, they can run the new script and it will su them as oracle without needing a password.  When they exit out of "oracle", they will return to SAM as their own login.&lt;BR /&gt;Doing a "man sam" can help more.&lt;BR /&gt;&lt;BR /&gt;Bob&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Mar 2005 20:32:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-problem/m-p/3500334#M216496</guid>
      <dc:creator>TheJuiceman</dc:creator>
      <dc:date>2005-03-08T20:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: su problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-problem/m-p/3500335#M216497</link>
      <description>PS - You could also use Service Control Manager also (but it is not built in to your system...you will have to get it from HP).  Then backora could login as oracle from the command line without using a password.</description>
      <pubDate>Tue, 08 Mar 2005 20:34:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-problem/m-p/3500335#M216497</guid>
      <dc:creator>TheJuiceman</dc:creator>
      <dc:date>2005-03-08T20:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: su problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-problem/m-p/3500336#M216498</link>
      <description>If you're running an automated ("lights-out") backup script, you could add it to root's crontab (it wouldn't need a password:&lt;BR /&gt;&lt;BR /&gt;0   9    *   *   1     /bin/su - oracle -c "runbackupscript.sh"&lt;BR /&gt;&lt;BR /&gt;(Check the syntax)&lt;BR /&gt;&lt;BR /&gt;Mic</description>
      <pubDate>Tue, 08 Mar 2005 23:40:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-problem/m-p/3500336#M216498</guid>
      <dc:creator>Mic V.</dc:creator>
      <dc:date>2005-03-08T23:40:15Z</dc:date>
    </item>
  </channel>
</rss>

