<?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: login in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/2854634#M94422</link>
    <description>Hi, I think Ravi is right ;-)&lt;BR /&gt;&lt;BR /&gt;--- snip ---&lt;BR /&gt;PROBLEM&lt;BR /&gt;login(1) command immediately rejects any username. &lt;BR /&gt;passwd(1) command does not prompt for a password. &lt;BR /&gt;&lt;BR /&gt;For example: &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  $ /usr/bin/login&lt;BR /&gt;  login: root&lt;BR /&gt;  Login incorrect&lt;BR /&gt;  login: guest&lt;BR /&gt;  Login incorrect&lt;BR /&gt;  login: anyone&lt;BR /&gt;  $&lt;BR /&gt;&lt;BR /&gt;  $ /usr/bin/passwd&lt;BR /&gt;  $&lt;BR /&gt;&lt;BR /&gt;There is nothing else observed failing on this generic system (i.e. - not a trusted system, no CDE, and no networking involved). &lt;BR /&gt;RESOLUTION&lt;BR /&gt;1) Verify /etc/pam.conf and /usr/lib/security/* files have correct permissions. Sample permissions are: &lt;BR /&gt;Note: The following files will not exist on all systems. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  $ ls -l /etc/pam.conf&lt;BR /&gt;  -r--r--r--   1 root       sys    ... /etc/pam.conf&lt;BR /&gt;&lt;BR /&gt;  $ ls -l /usr/lib/security/*&lt;BR /&gt;  -r-xr-xr-x   1 root       bin    ... /usr/lib/security/libpam_dce.1&lt;BR /&gt;  -r-xr-xr-x   1 root       sys    ... /usr/lib/security/libpam_unix.1&lt;BR /&gt;  -r-xr-xr-x   1 root       sys    ... /usr/lib/security/libpam_updbe.1&lt;BR /&gt;&lt;BR /&gt;If /etc/pam.conf is corrupt, a fresh copy is available at /usr/newconfig/etc/pam.conf. &lt;BR /&gt;2) Test if /sbin/passwd also fails. For instance, as root: &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  # /usr/bin/passwd&lt;BR /&gt;  # /sbin/passwd&lt;BR /&gt;  Changing password for root&lt;BR /&gt;  New password:&lt;BR /&gt;  Re-enter new password:&lt;BR /&gt;  #&lt;BR /&gt;&lt;BR /&gt;If /sbin/passwd works and /usr/bin/passwd fails, then there is likely a problem with a shared library. &lt;BR /&gt;The major difference between /sbin versus /usr/bin executables is how they were compiled. The /sbin executables were compiled statically with archive libraries, so they need no additional files. The /usr/bin/ executables generally were compiled dynamically with shared libraries, so they do need additional files. chatr(1) is used to change or display the internal attributes of an executable. For example: &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  $ chatr /usr/bin/passwd&lt;BR /&gt;  /usr/bin/passwd:&lt;BR /&gt;           shared executable&lt;BR /&gt;           shared library dynamic path search:&lt;BR /&gt;               SHLIB_PATH     disabled  second&lt;BR /&gt;               embedded path  disabled  first  Not Defined&lt;BR /&gt;           shared library list:&lt;BR /&gt;               dynamic   /usr/lib/libpam.1&lt;BR /&gt;               dynamic   /usr/lib/libsec.2&lt;BR /&gt;               dynamic   /usr/lib/libm.2&lt;BR /&gt;               dynamic   /usr/lib/libnsl.1&lt;BR /&gt;               dynamic   /usr/lib/librpcsvc.1&lt;BR /&gt;               dynamic   /usr/lib/libc.2&lt;BR /&gt;           shared library binding:&lt;BR /&gt;               deferred&lt;BR /&gt;           global hash table disabled&lt;BR /&gt;           plabel caching disabled&lt;BR /&gt;           shared vtable support disabled&lt;BR /&gt;           static branch prediction disabled&lt;BR /&gt;           :&lt;BR /&gt;&lt;BR /&gt;  $ chatr /sbin/passwd&lt;BR /&gt;  /sbin/passwd:&lt;BR /&gt;           shared executable&lt;BR /&gt;           static branch prediction disabled&lt;BR /&gt;           :&lt;BR /&gt;&lt;BR /&gt;Note: This above example was from an 11.00 HP-UX system. On a 10.X system, `chatr /usr/bin/passwd` displayed a shared library list of: &lt;BR /&gt;&lt;BR /&gt;         shared library list:&lt;BR /&gt;               dynamic   /usr/lib/libsec.1&lt;BR /&gt;               dynamic   /usr/lib/libc.1&lt;BR /&gt;&lt;BR /&gt;To resolve this issue, get a list of the shared libraries that /usr/bin/login is using. For example: &lt;BR /&gt;&lt;BR /&gt;  $ chatr /usr/bin/login&lt;BR /&gt;  /usr/bin/login:&lt;BR /&gt;           :&lt;BR /&gt;           shared library list:&lt;BR /&gt;               dynamic   /usr/lib/libpam.1&lt;BR /&gt;               dynamic   /usr/lib/libsec.2&lt;BR /&gt;               dynamic   /usr/lib/libnsl.1&lt;BR /&gt;               dynamic   /usr/lib/libc.2&lt;BR /&gt;           :&lt;BR /&gt;&lt;BR /&gt;and verify these are not corrupt by comparing them against shared libraries from a known working system. &lt;BR /&gt;If no other problems are observed on the system, it likely not a libc issue, as many commands use the libc library. Replacing one of these libraries with a valid library may resolve the problem. Old superseded libraries may be available in one of the subdirectories below the /var/adm/sw/save (or /var/adm/sw/patch for 10.X) directory. &lt;BR /&gt;&lt;BR /&gt;Corruption may have occurred due to swinstall(1) exiting prematurely during installation of patches, patches may have been installed without their corresponding dependent patches, or other possiblities. &lt;BR /&gt;&lt;BR /&gt;--- snap ---&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Armin</description>
    <pubDate>Fri, 29 Nov 2002 11:44:03 GMT</pubDate>
    <dc:creator>Armin Feller</dc:creator>
    <dc:date>2002-11-29T11:44:03Z</dc:date>
    <item>
      <title>login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/2854631#M94419</link>
      <description>Hi,&lt;BR /&gt;when i telnet to my hp 11i system ..and give the log in as root..it says login incorrect..without asking for a password..it happens with every user..plus the same is happening at console also.any clues</description>
      <pubDate>Fri, 29 Nov 2002 11:31:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/2854631#M94419</guid>
      <dc:creator>manu_5</dc:creator>
      <dc:date>2002-11-29T11:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/2854632#M94420</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;if rlogin works fine, then execute the following commands to resolve the problem:&lt;BR /&gt;&lt;BR /&gt;     1. cd /etc&lt;BR /&gt;&lt;BR /&gt;     2. rm securetty&lt;BR /&gt;&lt;BR /&gt;Medusa creates the securetty file.  This file creates problems with ARPA services.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Armin</description>
      <pubDate>Fri, 29 Nov 2002 11:34:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/2854632#M94420</guid>
      <dc:creator>Armin Feller</dc:creator>
      <dc:date>2002-11-29T11:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/2854633#M94421</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;in /etc/pam.conf check whether any login line is commented, if it is then uncomment that line</description>
      <pubDate>Fri, 29 Nov 2002 11:39:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/2854633#M94421</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2002-11-29T11:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/2854634#M94422</link>
      <description>Hi, I think Ravi is right ;-)&lt;BR /&gt;&lt;BR /&gt;--- snip ---&lt;BR /&gt;PROBLEM&lt;BR /&gt;login(1) command immediately rejects any username. &lt;BR /&gt;passwd(1) command does not prompt for a password. &lt;BR /&gt;&lt;BR /&gt;For example: &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  $ /usr/bin/login&lt;BR /&gt;  login: root&lt;BR /&gt;  Login incorrect&lt;BR /&gt;  login: guest&lt;BR /&gt;  Login incorrect&lt;BR /&gt;  login: anyone&lt;BR /&gt;  $&lt;BR /&gt;&lt;BR /&gt;  $ /usr/bin/passwd&lt;BR /&gt;  $&lt;BR /&gt;&lt;BR /&gt;There is nothing else observed failing on this generic system (i.e. - not a trusted system, no CDE, and no networking involved). &lt;BR /&gt;RESOLUTION&lt;BR /&gt;1) Verify /etc/pam.conf and /usr/lib/security/* files have correct permissions. Sample permissions are: &lt;BR /&gt;Note: The following files will not exist on all systems. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  $ ls -l /etc/pam.conf&lt;BR /&gt;  -r--r--r--   1 root       sys    ... /etc/pam.conf&lt;BR /&gt;&lt;BR /&gt;  $ ls -l /usr/lib/security/*&lt;BR /&gt;  -r-xr-xr-x   1 root       bin    ... /usr/lib/security/libpam_dce.1&lt;BR /&gt;  -r-xr-xr-x   1 root       sys    ... /usr/lib/security/libpam_unix.1&lt;BR /&gt;  -r-xr-xr-x   1 root       sys    ... /usr/lib/security/libpam_updbe.1&lt;BR /&gt;&lt;BR /&gt;If /etc/pam.conf is corrupt, a fresh copy is available at /usr/newconfig/etc/pam.conf. &lt;BR /&gt;2) Test if /sbin/passwd also fails. For instance, as root: &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  # /usr/bin/passwd&lt;BR /&gt;  # /sbin/passwd&lt;BR /&gt;  Changing password for root&lt;BR /&gt;  New password:&lt;BR /&gt;  Re-enter new password:&lt;BR /&gt;  #&lt;BR /&gt;&lt;BR /&gt;If /sbin/passwd works and /usr/bin/passwd fails, then there is likely a problem with a shared library. &lt;BR /&gt;The major difference between /sbin versus /usr/bin executables is how they were compiled. The /sbin executables were compiled statically with archive libraries, so they need no additional files. The /usr/bin/ executables generally were compiled dynamically with shared libraries, so they do need additional files. chatr(1) is used to change or display the internal attributes of an executable. For example: &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  $ chatr /usr/bin/passwd&lt;BR /&gt;  /usr/bin/passwd:&lt;BR /&gt;           shared executable&lt;BR /&gt;           shared library dynamic path search:&lt;BR /&gt;               SHLIB_PATH     disabled  second&lt;BR /&gt;               embedded path  disabled  first  Not Defined&lt;BR /&gt;           shared library list:&lt;BR /&gt;               dynamic   /usr/lib/libpam.1&lt;BR /&gt;               dynamic   /usr/lib/libsec.2&lt;BR /&gt;               dynamic   /usr/lib/libm.2&lt;BR /&gt;               dynamic   /usr/lib/libnsl.1&lt;BR /&gt;               dynamic   /usr/lib/librpcsvc.1&lt;BR /&gt;               dynamic   /usr/lib/libc.2&lt;BR /&gt;           shared library binding:&lt;BR /&gt;               deferred&lt;BR /&gt;           global hash table disabled&lt;BR /&gt;           plabel caching disabled&lt;BR /&gt;           shared vtable support disabled&lt;BR /&gt;           static branch prediction disabled&lt;BR /&gt;           :&lt;BR /&gt;&lt;BR /&gt;  $ chatr /sbin/passwd&lt;BR /&gt;  /sbin/passwd:&lt;BR /&gt;           shared executable&lt;BR /&gt;           static branch prediction disabled&lt;BR /&gt;           :&lt;BR /&gt;&lt;BR /&gt;Note: This above example was from an 11.00 HP-UX system. On a 10.X system, `chatr /usr/bin/passwd` displayed a shared library list of: &lt;BR /&gt;&lt;BR /&gt;         shared library list:&lt;BR /&gt;               dynamic   /usr/lib/libsec.1&lt;BR /&gt;               dynamic   /usr/lib/libc.1&lt;BR /&gt;&lt;BR /&gt;To resolve this issue, get a list of the shared libraries that /usr/bin/login is using. For example: &lt;BR /&gt;&lt;BR /&gt;  $ chatr /usr/bin/login&lt;BR /&gt;  /usr/bin/login:&lt;BR /&gt;           :&lt;BR /&gt;           shared library list:&lt;BR /&gt;               dynamic   /usr/lib/libpam.1&lt;BR /&gt;               dynamic   /usr/lib/libsec.2&lt;BR /&gt;               dynamic   /usr/lib/libnsl.1&lt;BR /&gt;               dynamic   /usr/lib/libc.2&lt;BR /&gt;           :&lt;BR /&gt;&lt;BR /&gt;and verify these are not corrupt by comparing them against shared libraries from a known working system. &lt;BR /&gt;If no other problems are observed on the system, it likely not a libc issue, as many commands use the libc library. Replacing one of these libraries with a valid library may resolve the problem. Old superseded libraries may be available in one of the subdirectories below the /var/adm/sw/save (or /var/adm/sw/patch for 10.X) directory. &lt;BR /&gt;&lt;BR /&gt;Corruption may have occurred due to swinstall(1) exiting prematurely during installation of patches, patches may have been installed without their corresponding dependent patches, or other possiblities. &lt;BR /&gt;&lt;BR /&gt;--- snap ---&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Armin</description>
      <pubDate>Fri, 29 Nov 2002 11:44:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/2854634#M94422</guid>
      <dc:creator>Armin Feller</dc:creator>
      <dc:date>2002-11-29T11:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/2854635#M94423</link>
      <description>i cannot do rlogin also.</description>
      <pubDate>Fri, 29 Nov 2002 11:45:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/2854635#M94423</guid>
      <dc:creator>manu_5</dc:creator>
      <dc:date>2002-11-29T11:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/2854636#M94424</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;If you can not get onto your system from any console, TOC the box, boot to single user mode and check your files starting with /etc/passwd.&lt;BR /&gt;All chatr checks also good idea.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;0leg</description>
      <pubDate>Fri, 29 Nov 2002 18:26:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/2854636#M94424</guid>
      <dc:creator>Oleg Zieaev_1</dc:creator>
      <dc:date>2002-11-29T18:26:51Z</dc:date>
    </item>
  </channel>
</rss>

