<?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: question about pam on hpux11 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-pam-on-hpux11/m-p/2955737#M752664</link>
    <description>Sounds like your application works if run as root, but not if it runs as another user?  If I understood your question correctly, then this is expected behavior in trusted mode.&lt;BR /&gt;&lt;BR /&gt;There are two reasons for this, from different perspectives.&lt;BR /&gt;&lt;BR /&gt;1. One of the main features of trusted mode is the ability to hide the encrypted password from non-root users.  Hence, non-root users can't try to authenticate, or they could attempt password guessing schemes.&lt;BR /&gt;&lt;BR /&gt;2. It doesn't really do much good to authenticate a user if you can't switch to that user.  Only root can do that anyway.&lt;BR /&gt;&lt;BR /&gt;Hope that helps.  If not, maybe you could clarify what you're trying to do in the application?</description>
    <pubDate>Mon, 21 Apr 2003 18:06:59 GMT</pubDate>
    <dc:creator>Keith Buck</dc:creator>
    <dc:date>2003-04-21T18:06:59Z</dc:date>
    <item>
      <title>question about pam on hpux11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-pam-on-hpux11/m-p/2955734#M752661</link>
      <description>hello! i'm having problems using the pam application i made which simply authenticates the user. I was wondering how come if I log in as root I dont have a problem using the application. I'm currently using hpux11 which uses tcb. Any help is much appreciated. thanks!</description>
      <pubDate>Mon, 21 Apr 2003 17:44:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-pam-on-hpux11/m-p/2955734#M752661</guid>
      <dc:creator>mango_1</dc:creator>
      <dc:date>2003-04-21T17:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: question about pam on hpux11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-pam-on-hpux11/m-p/2955735#M752662</link>
      <description>Like a wise man told me once "if it feels like a permsisions problem, it probably is". I don't know a thing about your Pam application but permissions is always a good place to start.</description>
      <pubDate>Mon, 21 Apr 2003 17:49:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-pam-on-hpux11/m-p/2955735#M752662</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2003-04-21T17:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: question about pam on hpux11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-pam-on-hpux11/m-p/2955736#M752663</link>
      <description>thanks for the advice. I've also looked into that possibility. but couldn't figure out where it had permission problems. I used truss to trace the application and i think the difference is in accessing the /tcb/files/auth/... its issuing an error 13 while as root its issuing error 2. is there a way to solve this? &lt;BR /&gt;&lt;BR /&gt;thanks!</description>
      <pubDate>Mon, 21 Apr 2003 17:58:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-pam-on-hpux11/m-p/2955736#M752663</guid>
      <dc:creator>mango_1</dc:creator>
      <dc:date>2003-04-21T17:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: question about pam on hpux11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-pam-on-hpux11/m-p/2955737#M752664</link>
      <description>Sounds like your application works if run as root, but not if it runs as another user?  If I understood your question correctly, then this is expected behavior in trusted mode.&lt;BR /&gt;&lt;BR /&gt;There are two reasons for this, from different perspectives.&lt;BR /&gt;&lt;BR /&gt;1. One of the main features of trusted mode is the ability to hide the encrypted password from non-root users.  Hence, non-root users can't try to authenticate, or they could attempt password guessing schemes.&lt;BR /&gt;&lt;BR /&gt;2. It doesn't really do much good to authenticate a user if you can't switch to that user.  Only root can do that anyway.&lt;BR /&gt;&lt;BR /&gt;Hope that helps.  If not, maybe you could clarify what you're trying to do in the application?</description>
      <pubDate>Mon, 21 Apr 2003 18:06:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-pam-on-hpux11/m-p/2955737#M752664</guid>
      <dc:creator>Keith Buck</dc:creator>
      <dc:date>2003-04-21T18:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: question about pam on hpux11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-pam-on-hpux11/m-p/2955738#M752665</link>
      <description>thanks for the help. really appreciate it! let me explain further. The application runs when I run it as myself or as root. the problem is when I use my application. my application actually tries to authenticate the user provided. &lt;BR /&gt;&lt;BR /&gt;(e.g. mylogin is the name of my application and when I run it as:  mylogin &lt;VALID username=""&gt;. It will fail when I log in as myself but will return success when I'm the root) &lt;BR /&gt;&lt;BR /&gt;Please let me know if you need any additional information. thanks!&lt;/VALID&gt;</description>
      <pubDate>Mon, 21 Apr 2003 18:18:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-pam-on-hpux11/m-p/2955738#M752665</guid>
      <dc:creator>mango_1</dc:creator>
      <dc:date>2003-04-21T18:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: question about pam on hpux11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-pam-on-hpux11/m-p/2955739#M752666</link>
      <description>i encounter the error "No account present for user" even if the user is valid. &lt;BR /&gt;&lt;BR /&gt;thanks again! :)</description>
      <pubDate>Mon, 21 Apr 2003 19:17:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-pam-on-hpux11/m-p/2955739#M752666</guid>
      <dc:creator>mango_1</dc:creator>
      <dc:date>2003-04-21T19:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: question about pam on hpux11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-pam-on-hpux11/m-p/2955740#M752667</link>
      <description>hi all! i think the problem is that i need the root priveledges for my application to be able to access the tcb files. (my application is somewhat like the login service existing. it just accepts user name and password)  i tried to chmod (u+s) the executable but it still failed. do you guys have any idea how I could do this?&lt;BR /&gt;&lt;BR /&gt;thanks so much!</description>
      <pubDate>Mon, 21 Apr 2003 20:46:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-pam-on-hpux11/m-p/2955740#M752667</guid>
      <dc:creator>mango_1</dc:creator>
      <dc:date>2003-04-21T20:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: question about pam on hpux11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-pam-on-hpux11/m-p/2955741#M752668</link>
      <description>I am still kinda fuzzy on what the application explicitly does. But any time we have an app that has to run as root, but run by certain users, we use sudo. Sudo is free and available, I believe from HP's software site or the porting center.&lt;BR /&gt;&lt;BR /&gt;How sudo works is the root user will specify, in config files, what users can issue which commands. So in effect the user(s) would have a list of commands, that you set up for them, to execute, and the command runs as root. It is very slick and if you follow the examples etc, it is very safe.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Try this link to download sudo :&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;and do a little searching on the ITRC forums about it.&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Apr 2003 20:53:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-pam-on-hpux11/m-p/2955741#M752668</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2003-04-21T20:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: question about pam on hpux11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-pam-on-hpux11/m-p/2955742#M752669</link>
      <description>thanks for the replies! but i was wondering if there was a way that wouldn't use another software like sudo. couldn't I just issue the setuid command? if I want to use the root command, Can't I just use the setuid(0) in my application? sorry for the trouble.</description>
      <pubDate>Mon, 21 Apr 2003 21:10:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-pam-on-hpux11/m-p/2955742#M752669</guid>
      <dc:creator>mango_1</dc:creator>
      <dc:date>2003-04-21T21:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: question about pam on hpux11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-pam-on-hpux11/m-p/2955743#M752670</link>
      <description>Melissa, you said you did 'chmod u+s' on the binary but didn't specify who owns the binary.&lt;BR /&gt;&lt;BR /&gt;The binary must be owned by root before you do the chmod on it.  If not, you will see the type of problem you describe.&lt;BR /&gt; &lt;BR /&gt;Try&lt;BR /&gt;chown root:sys mylogin&lt;BR /&gt;chmod 4755 mylogin&lt;BR /&gt;&lt;BR /&gt;That will give you the privileges you need to access the protected password files under /tcb.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Apr 2003 18:19:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-pam-on-hpux11/m-p/2955743#M752670</guid>
      <dc:creator>doug hosking</dc:creator>
      <dc:date>2003-04-22T18:19:26Z</dc:date>
    </item>
  </channel>
</rss>

