<?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: logon by userid instead and su to application in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/logon-by-userid-instead-and-su-to-application/m-p/3847409#M274345</link>
    <description>Thank you all for the response. I did the easier one to create a new .profile with exit 0 and tell the users to do as Kapil Raj&lt;BR /&gt;suggested. It is working.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
    <pubDate>Tue, 22 Aug 2006 17:53:49 GMT</pubDate>
    <dc:creator>dgizaw</dc:creator>
    <dc:date>2006-08-22T17:53:49Z</dc:date>
    <item>
      <title>logon by userid instead and su to application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logon-by-userid-instead-and-su-to-application/m-p/3847397#M274333</link>
      <description>Hi every body,&lt;BR /&gt;&lt;BR /&gt;How do I disable user from logging directly by application userid? I want the user to login as him/her self and su to application. If somthing happens I will be able to trace who logged in at that time.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 21 Aug 2006 11:03:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logon-by-userid-instead-and-su-to-application/m-p/3847397#M274333</guid>
      <dc:creator>dgizaw</dc:creator>
      <dc:date>2006-08-21T11:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: logon by userid instead and su to application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logon-by-userid-instead-and-su-to-application/m-p/3847398#M274334</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Take a look at this thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=1048593" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=1048593&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;PCS</description>
      <pubDate>Mon, 21 Aug 2006 11:11:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logon-by-userid-instead-and-su-to-application/m-p/3847398#M274334</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2006-08-21T11:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: logon by userid instead and su to application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logon-by-userid-instead-and-su-to-application/m-p/3847399#M274335</link>
      <description>If you have sudo installed I'd disable the account by putting a * in the password field in /etc/passwd, adding all the application users to an appusers group, and then modifying the sudoers file:&lt;BR /&gt;&lt;BR /&gt;%appusers  localhost=/usr/bin/su - &lt;APP_USER&gt;&lt;/APP_USER&gt;</description>
      <pubDate>Mon, 21 Aug 2006 11:18:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logon-by-userid-instead-and-su-to-application/m-p/3847399#M274335</guid>
      <dc:creator>Jonathan Fife</dc:creator>
      <dc:date>2006-08-21T11:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: logon by userid instead and su to application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logon-by-userid-instead-and-su-to-application/m-p/3847400#M274336</link>
      <description>sudo is teh choice.&lt;BR /&gt;&lt;BR /&gt;Allows you to capture the logging asd to who did the su to the account.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Aug 2006 11:20:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logon-by-userid-instead-and-su-to-application/m-p/3847400#M274336</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2006-08-21T11:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: logon by userid instead and su to application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logon-by-userid-instead-and-su-to-application/m-p/3847401#M274337</link>
      <description>This has a hole in it but could be an option.&lt;BR /&gt;&lt;BR /&gt;In the profile of the su'd user check that the the number of processes using ps is greater than two.  i.e. must have two shells running.  If not do an exit.&lt;BR /&gt;&lt;BR /&gt;Now the user could change the .profile after su'ing so this is not a secure option.&lt;BR /&gt;&lt;BR /&gt;Setting the users shell to /usr/bin/false might work but typically you want a shell and the profile to be read when doing su - user.&lt;BR /&gt;&lt;BR /&gt;I have always looked for this option as well, if you find a secure solution make sure you repost.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The only other choice so far would be to use sudo.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Aug 2006 11:33:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logon-by-userid-instead-and-su-to-application/m-p/3847401#M274337</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2006-08-21T11:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: logon by userid instead and su to application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logon-by-userid-instead-and-su-to-application/m-p/3847402#M274338</link>
      <description>Thank you guys for the quick responses. I was wondering if there is anything similar in HP-UX as Solaris /etc/udeny. In /etc/udeny you list the application userid and that will disable any body to directly to login but only able to su. Your suggestions are a little complex, if that is the only choice I might have to use it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you all</description>
      <pubDate>Mon, 21 Aug 2006 12:04:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logon-by-userid-instead-and-su-to-application/m-p/3847402#M274338</guid>
      <dc:creator>dgizaw</dc:creator>
      <dc:date>2006-08-21T12:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: logon by userid instead and su to application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logon-by-userid-instead-and-su-to-application/m-p/3847403#M274339</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;As stated above the SShd2_config file has a deny user line. But what about the /etc/limilogins file. you may want to check and make an entry in that file also.&lt;BR /&gt;&lt;BR /&gt;Sp,</description>
      <pubDate>Mon, 21 Aug 2006 12:30:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logon-by-userid-instead-and-su-to-application/m-p/3847403#M274339</guid>
      <dc:creator>Sp4admin</dc:creator>
      <dc:date>2006-08-21T12:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: logon by userid instead and su to application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logon-by-userid-instead-and-su-to-application/m-p/3847404#M274340</link>
      <description>Sp, &lt;BR /&gt;The version of OpenSSH I have is 3.7 and  SShd2_config does not exits. I checked ssh_config and sshd_config for deny user line and is not there. Can I put a line?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 21 Aug 2006 14:00:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logon-by-userid-instead-and-su-to-application/m-p/3847404#M274340</guid>
      <dc:creator>dgizaw</dc:creator>
      <dc:date>2006-08-21T14:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: logon by userid instead and su to application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logon-by-userid-instead-and-su-to-application/m-p/3847405#M274341</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;This is simple.&lt;BR /&gt;&lt;BR /&gt;Users have no business having the password for the application user.&lt;BR /&gt;&lt;BR /&gt;Change it and don't tell the user.&lt;BR /&gt;&lt;BR /&gt;This is a policy issue, not an admin issue. If you disable the login, root won't be able to su -c username command to start the application server process.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 21 Aug 2006 14:03:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logon-by-userid-instead-and-su-to-application/m-p/3847405#M274341</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-08-21T14:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: logon by userid instead and su to application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logon-by-userid-instead-and-su-to-application/m-p/3847406#M274342</link>
      <description>SEP,&lt;BR /&gt;If they do not know the password how can they su to the application user. Here is the example I want to do. &lt;BR /&gt;application userid : asap&lt;BR /&gt;username: kevin&lt;BR /&gt;&lt;BR /&gt;First Kevin should login as kevin and su to asap to get to the application. Right now a lot of people login as asap and want to know who that person is. If they try to login as asap to the system, the system should not let them login.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 21 Aug 2006 15:02:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logon-by-userid-instead-and-su-to-application/m-p/3847406#M274342</guid>
      <dc:creator>dgizaw</dc:creator>
      <dc:date>2006-08-21T15:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: logon by userid instead and su to application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logon-by-userid-instead-and-su-to-application/m-p/3847407#M274343</link>
      <description>I think the ssh way is the best.&lt;BR /&gt;&lt;BR /&gt;OR ..&lt;BR /&gt;&lt;BR /&gt;In the .profile ,&lt;BR /&gt;&lt;BR /&gt;if [ `whoami` -eq "asap" ]&lt;BR /&gt;then&lt;BR /&gt; exit 0&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;Change the ownership of .profile to root ( can u change the home owner as root as well and then create all the child directories owned by the "asap" user ?).&lt;BR /&gt;&lt;BR /&gt;I think this will work, user's may have to use "su" instead of "su -" so that profile is not processed.&lt;BR /&gt;&lt;BR /&gt;Test it ...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
      <pubDate>Mon, 21 Aug 2006 17:17:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logon-by-userid-instead-and-su-to-application/m-p/3847407#M274343</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2006-08-21T17:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: logon by userid instead and su to application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logon-by-userid-instead-and-su-to-application/m-p/3847408#M274344</link>
      <description>In HPUX 11.23 there is RBAC. Role Based Access Control.&lt;BR /&gt;&lt;BR /&gt;This will allow you to fine tune some of the access restrictions.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Aug 2006 09:03:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logon-by-userid-instead-and-su-to-application/m-p/3847408#M274344</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2006-08-22T09:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: logon by userid instead and su to application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logon-by-userid-instead-and-su-to-application/m-p/3847409#M274345</link>
      <description>Thank you all for the response. I did the easier one to create a new .profile with exit 0 and tell the users to do as Kapil Raj&lt;BR /&gt;suggested. It is working.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 22 Aug 2006 17:53:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logon-by-userid-instead-and-su-to-application/m-p/3847409#M274345</guid>
      <dc:creator>dgizaw</dc:creator>
      <dc:date>2006-08-22T17:53:49Z</dc:date>
    </item>
  </channel>
</rss>

