<?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: Secure Shared Accounts in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/secure-shared-accounts/m-p/2520730#M758384</link>
    <description>Another possibility is using rlogin.  I don't know if this will work on the same machine or not, but we use it for a terminal for one server to log in on a second server without the extra login step (or a password being required).  We put it in the .profile, but it could just as easily be placed in a script.  See man rlogin for more info.</description>
    <pubDate>Tue, 24 Apr 2001 18:10:51 GMT</pubDate>
    <dc:creator>Andrew Maslin</dc:creator>
    <dc:date>2001-04-24T18:10:51Z</dc:date>
    <item>
      <title>Secure Shared Accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secure-shared-accounts/m-p/2520727#M758381</link>
      <description>I need a way to have users log in as themselves,&lt;BR /&gt;and then access shared accounts (i.e. Oracle,&lt;BR /&gt;SIDs under Oracle). If there is some COTS or&lt;BR /&gt;some scripting/etc please adivse. We are using&lt;BR /&gt;10.20 and 11.0 right now.&lt;BR /&gt;&lt;BR /&gt;Can't use Sudo (as far as I know) as the users have&lt;BR /&gt;to stay in the environment rather than just submit&lt;BR /&gt;commands to it. &lt;BR /&gt;&lt;BR /&gt;Any help would be appreciated., Tks</description>
      <pubDate>Tue, 24 Apr 2001 13:51:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secure-shared-accounts/m-p/2520727#M758381</guid>
      <dc:creator>Steve Medrick</dc:creator>
      <dc:date>2001-04-24T13:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Secure Shared Accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secure-shared-accounts/m-p/2520728#M758382</link>
      <description>Edit C script with command can't use,it have chmod 4501.</description>
      <pubDate>Tue, 24 Apr 2001 13:56:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secure-shared-accounts/m-p/2520728#M758382</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-04-24T13:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Secure Shared Accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secure-shared-accounts/m-p/2520729#M758383</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Why don't you use sudo to do something like "su - oracle" as root ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Patrice.</description>
      <pubDate>Tue, 24 Apr 2001 14:05:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secure-shared-accounts/m-p/2520729#M758383</guid>
      <dc:creator>MARTINACHE</dc:creator>
      <dc:date>2001-04-24T14:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Secure Shared Accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secure-shared-accounts/m-p/2520730#M758384</link>
      <description>Another possibility is using rlogin.  I don't know if this will work on the same machine or not, but we use it for a terminal for one server to log in on a second server without the extra login step (or a password being required).  We put it in the .profile, but it could just as easily be placed in a script.  See man rlogin for more info.</description>
      <pubDate>Tue, 24 Apr 2001 18:10:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secure-shared-accounts/m-p/2520730#M758384</guid>
      <dc:creator>Andrew Maslin</dc:creator>
      <dc:date>2001-04-24T18:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Secure Shared Accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secure-shared-accounts/m-p/2520731#M758385</link>
      <description>You can use sudo to do an 'su - username'.  We use that quite regularly here.  &lt;BR /&gt;&lt;BR /&gt;We have a line set up in our sudoers file like:&lt;BR /&gt;&lt;BR /&gt;Cmnd_Alias      ORACLE=/usr/uprc/scripts/Oracle&lt;BR /&gt;&lt;BR /&gt;then we set up the users like:&lt;BR /&gt;&lt;BR /&gt;userid machine_name=ORACLE&lt;BR /&gt;&lt;BR /&gt;The Oracle script does the following to switch to the oracle user at a shell prompt and the user can the do whatever he/she needs to do.&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;if [ `/usr/ucb/whoami` = "root" ]&lt;BR /&gt;then&lt;BR /&gt;        newuser=`basename $0| sed -e "s/^O/o/"`&lt;BR /&gt;        /bin/echo "Changing to user $newuser"&lt;BR /&gt;        exec /bin/su - $newuser&lt;BR /&gt;else&lt;BR /&gt;exec /usr/uprc/bin/sudo /usr/uprc/scripts/`basename $0`&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Apr 2001 18:20:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secure-shared-accounts/m-p/2520731#M758385</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-04-24T18:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Secure Shared Accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secure-shared-accounts/m-p/2520732#M758386</link>
      <description>Well, I have seen alot of assumptions.  Mostly about running "at" on Windows 98?????? I thought only NT has the "at" command!  Setup an FTP Server on 98???  &lt;BR /&gt;&lt;BR /&gt;To do this via FTP every couple of minutes is crazy!  This is a very tedious mechanism for transfering 1 file( unless it is HUGE!).&lt;BR /&gt;&lt;BR /&gt;Download and install SAMBA, and read the docs.  You can use smbclient to access a windows share directly, and therefor write a script to run via cron.   Since smbclient is very similar to ftp the smbclient may not be the most effective mechanism.  &lt;BR /&gt;&lt;BR /&gt;The most effective method is to create a samba share, and mount that on windblows.  have the windblows program dumping a file dump to the mapped drive. &lt;BR /&gt;&lt;BR /&gt;Read the docs for SAMBA, and you will learn all you need.  pretty basic though...&lt;BR /&gt;&lt;BR /&gt;If you have to use smbclient, then it is a bit better than ftp, because it is completely control the scripts from the UNIX box, without adding software to windblows!&lt;BR /&gt;&lt;BR /&gt;Read the docs for smbclient, and you'll be off and running...&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Shannon</description>
      <pubDate>Tue, 24 Apr 2001 19:26:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secure-shared-accounts/m-p/2520732#M758386</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2001-04-24T19:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Secure Shared Accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secure-shared-accounts/m-p/2520733#M758387</link>
      <description>If you only want acces to things like Oracle SIDs then the &lt;BR /&gt;default Oracle install does what you want.  Oracle will allow read access to the files needed to execute things &lt;BR /&gt;like SQLPlus, SQLLoader and other command line utilities.&lt;BR /&gt;Actual updates to the database are done by processes &lt;BR /&gt;running under the Oracle userid. &lt;BR /&gt;&lt;BR /&gt;You may want to open up the udump directories for &lt;BR /&gt;access by all users.&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Apr 2001 21:31:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secure-shared-accounts/m-p/2520733#M758387</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2001-04-24T21:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Secure Shared Accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secure-shared-accounts/m-p/2520734#M758388</link>
      <description>Wow, looks like my post got put in the wrong message!  Sorry bout that!  What's up with that HP??????????&lt;BR /&gt;&lt;BR /&gt;Anyway, with this one, I agree that you can use sudo to su - oracle.  Sudo may be overkill though, if the users already have the password to oracle.  If they do, a su '-' oracle loads the environment for the user after the '-' sign.&lt;BR /&gt;&lt;BR /&gt;This may or may not suite your needs however.  If it is because you have users running scripts, remember that you can use sudo to have them run the scripts as oracle, just as a binary.  sudo is much more flexible than people thing until they use it!  :)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Tue, 24 Apr 2001 23:38:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secure-shared-accounts/m-p/2520734#M758388</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2001-04-24T23:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Secure Shared Accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secure-shared-accounts/m-p/2520735#M758389</link>
      <description>You may have more options with sudo than you are aware. (plus, it comes with source code so if you are brave &amp;amp; careful you can make it do whatever you need)&lt;BR /&gt;&lt;BR /&gt;Pertaining to keeping a standard environment, you can easily set things like PATH, etc. in either the build or the sudoers file. &lt;BR /&gt;&lt;BR /&gt;Good luck.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.courtesan.com/sudo/man/sudoers.html" target="_blank"&gt;http://www.courtesan.com/sudo/man/sudoers.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.courtesan.com/sudo/install.html" target="_blank"&gt;http://www.courtesan.com/sudo/install.html&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Apr 2001 11:54:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secure-shared-accounts/m-p/2520735#M758389</guid>
      <dc:creator>Jim Hendrick</dc:creator>
      <dc:date>2001-04-30T11:54:09Z</dc:date>
    </item>
  </channel>
</rss>

