<?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: what happened to user account? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369076#M195343</link>
    <description>Rick,&lt;BR /&gt;&lt;BR /&gt;Have you checked for illegal chars in your entry in /etc/passwd (using cat -v /etc/passwd)&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
    <pubDate>Tue, 31 Aug 2004 10:40:35 GMT</pubDate>
    <dc:creator>Duncan Edmonstone</dc:creator>
    <dc:date>2004-08-31T10:40:35Z</dc:date>
    <item>
      <title>what happened to user account?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369070#M195337</link>
      <description>Hi all:&lt;BR /&gt;&lt;BR /&gt;Got a rp7410 with multiple n-pars running HPUX 11.11.&lt;BR /&gt;&lt;BR /&gt;My user account is playing tricks on me. When I ssh to the system using my account it will close the connection. I can telnet to the system using my account OK. Doing some searching I find that the `id` command for my account is listing my UID number but not the account name. &lt;BR /&gt;&lt;BR /&gt;I go into SAM and the account does not exist in the list but when I try to add using the same values it says the account already exists. In the /etc/passwd file it is there and all is OK. I have done the search in SAM for the user list and SAM says the pattern does not exist in the list. The add function says the account does exist.&lt;BR /&gt;&lt;BR /&gt;Anyway, here is the output of the `id` command for my user account.&lt;BR /&gt;&lt;BR /&gt;id uid=1004() gid=122(wheel)groups=101(dba),113(admin)&lt;BR /&gt;&lt;BR /&gt;As can be seen, the account name for the UID 1004 is blank. This is why ssh cannot login. But why is it blank?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Aug 2004 10:09:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369070#M195337</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-08-31T10:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: what happened to user account?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369071#M195338</link>
      <description>I've seen some issues where ssh gets a little confused by uid inconsistency between two boxes.&lt;BR /&gt;&lt;BR /&gt;box1: userid steve uid 1004&lt;BR /&gt;box2: userid steve uid 1003&lt;BR /&gt;&lt;BR /&gt;I've seen your exact results in that cirucmstance.&lt;BR /&gt;&lt;BR /&gt;The easy fix is to play with uid in /etc/passwd&lt;BR /&gt;&lt;BR /&gt;The hard one is getting ssh updated to a version that doesn't get confused.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 31 Aug 2004 10:17:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369071#M195338</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-08-31T10:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: what happened to user account?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369072#M195339</link>
      <description>Check the passwd: entry in /etc/nwswitch.conf, it may be referencing a NIS server or something?</description>
      <pubDate>Tue, 31 Aug 2004 10:17:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369072#M195339</guid>
      <dc:creator>Simon Hargrave</dc:creator>
      <dc:date>2004-08-31T10:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: what happened to user account?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369073#M195340</link>
      <description>I've made it a point to have the same UID on all my systems. The other systems I have not seen this happen.&lt;BR /&gt;&lt;BR /&gt;The nsswitch.conf file is set to "files" for the passwd.&lt;BR /&gt;&lt;BR /&gt;I've seen ssh get confused but I don't believe this is an issue in which ssh is the problem.</description>
      <pubDate>Tue, 31 Aug 2004 10:23:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369073#M195340</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-08-31T10:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: what happened to user account?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369074#M195341</link>
      <description>I got it back. Did a passwd change on the account and it is back.&lt;BR /&gt;&lt;BR /&gt;SAM now shows my account $LOGNAME in its list. &lt;BR /&gt;&lt;BR /&gt;Honest, nothing was done except the `passwd` command against my account as the root user.&lt;BR /&gt;   # passwd &lt;MY_ACCT&gt; &lt;BR /&gt;&lt;BR /&gt;I am now able to ssh into the system as well.&lt;BR /&gt;&lt;BR /&gt;The uid name field is now populated with the account name (my $LOGNAME).&lt;BR /&gt;&lt;BR /&gt;I was able to do pretty much any task except the ssh.&lt;BR /&gt;&lt;BR /&gt;Any ideas what happened?&lt;/MY_ACCT&gt;</description>
      <pubDate>Tue, 31 Aug 2004 10:39:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369074#M195341</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-08-31T10:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: what happened to user account?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369075#M195342</link>
      <description>Is this a "trusted" system?&lt;BR /&gt;&lt;BR /&gt;One thing to try, though maybe not the best solution, is delete your account, then recreate it again....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Tue, 31 Aug 2004 10:40:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369075#M195342</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-08-31T10:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: what happened to user account?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369076#M195343</link>
      <description>Rick,&lt;BR /&gt;&lt;BR /&gt;Have you checked for illegal chars in your entry in /etc/passwd (using cat -v /etc/passwd)&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Tue, 31 Aug 2004 10:40:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369076#M195343</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2004-08-31T10:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: what happened to user account?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369077#M195344</link>
      <description>Not a trusted system (not yet - soon)&lt;BR /&gt;No wierd characters in the passwd file.&lt;BR /&gt;&lt;BR /&gt;I did have that thought to remove and recreate. Doing in SAM would not have worked because SAM does not recognize that the account exists. Can do manually.</description>
      <pubDate>Tue, 31 Aug 2004 10:46:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369077#M195344</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-08-31T10:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: what happened to user account?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369078#M195345</link>
      <description>Is the account name standard length (8 characters or less)?</description>
      <pubDate>Tue, 31 Aug 2004 11:13:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369078#M195345</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-08-31T11:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: what happened to user account?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369079#M195346</link>
      <description>Yes, $LOGNAME is 8 characters. The passwd is 7 characters or 8 characters - I have 2 passwds that I rotate through. These passwds have uper and lower, special characters, numerals and alphas.&lt;BR /&gt;&lt;BR /&gt;The $LOGNAME is just 8 characters all alpha.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Aug 2004 11:16:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369079#M195346</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-08-31T11:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: what happened to user account?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369080#M195347</link>
      <description>Egar to know, what message ssh was giving.&lt;BR /&gt;You must have run pwc, grpck when that was happening. Did you?&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Tue, 31 Aug 2004 11:20:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369080#M195347</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-08-31T11:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: what happened to user account?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369081#M195348</link>
      <description>There were no errors for the /usr/sbin/pwck and grpck. Doing a ssh to the remote system produced the "remote connection closed" message when there was no $LOGNAME, telnet would still work.&lt;BR /&gt;&lt;BR /&gt;The versions of ssh are A.03.10.002 on all systems.</description>
      <pubDate>Tue, 31 Aug 2004 11:50:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369081#M195348</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-08-31T11:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: what happened to user account?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369082#M195349</link>
      <description>Now, when it is resolved, we can say that it was because LOGNAME was not displayed. ssh -vvv and sshd -ddd on server could have given this information in details.&lt;BR /&gt;&lt;BR /&gt;Just a thought.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Tue, 31 Aug 2004 12:04:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369082#M195349</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-08-31T12:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: what happened to user account?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369083#M195350</link>
      <description>Thanks to all. To restate, I do not believe this was an issue caused by ssh. The ssh found the issue of no $LOGNAME with my account and acted accordingly.&lt;BR /&gt;&lt;BR /&gt;SAM could not "see" the account yet when I try to add the account via SAM it would display the message "account already exists" - yet looking at SAM display and doing a search did not find the account.&lt;BR /&gt;&lt;BR /&gt;I was able to telnet to the system. &lt;BR /&gt;&lt;BR /&gt;The pwck and grpck produced no errors related to this account (the pwck produced 2 errors saying the "login directory not found" - the grpck produced errors stating that several LOGNAMEs did not exist, I am in process of cleaning)&lt;BR /&gt;&lt;BR /&gt;I did not run ssh -v because it would have told me something I already know, the $LOGNAME for this account does not exist.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Aug 2004 12:12:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369083#M195350</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-08-31T12:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: what happened to user account?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369084#M195351</link>
      <description>Is the SAM db corrupt somehow?&lt;BR /&gt;&lt;BR /&gt;Do you have patch PHCO_28007 installed?&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Tue, 31 Aug 2004 12:37:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369084#M195351</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-08-31T12:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: what happened to user account?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369085#M195352</link>
      <description>Doing it again!&lt;BR /&gt;&lt;BR /&gt;Some of the info requested:&lt;BR /&gt;&lt;BR /&gt;ssh -v from my desktop to the HPUX server:&lt;BR /&gt;OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090701f&lt;BR /&gt;debug1: Reading configuration data /etc/ssh/ssh_config&lt;BR /&gt;debug1: Applying options for *&lt;BR /&gt;debug1: Rhosts Authentication disabled, originating port will not be trusted.&lt;BR /&gt;debug1: Connecting to hsgccu21 [10.60.92.24] port 22.&lt;BR /&gt;debug1: Connection established.&lt;BR /&gt;debug1: identity file /home/rgarland/.ssh/identity type -1&lt;BR /&gt;debug1: identity file /home/rgarland/.ssh/id_rsa type -1&lt;BR /&gt;debug1: identity file /home/rgarland/.ssh/id_dsa type -1&lt;BR /&gt;debug1: Remote protocol version 2.0, remote software version OpenSSH_3.1p1&lt;BR /&gt;debug1: match: OpenSSH_3.1p1 pat OpenSSH_2.*,OpenSSH_3.0*,OpenSSH_3.1*&lt;BR /&gt;debug1: Enabling compatibility mode for protocol 2.0&lt;BR /&gt;debug1: Local version string SSH-2.0-OpenSSH_3.6.1p2&lt;BR /&gt;debug1: SSH2_MSG_KEXINIT sent&lt;BR /&gt;debug1: SSH2_MSG_KEXINIT received&lt;BR /&gt;debug1: kex: server-&amp;gt;client aes128-cbc hmac-md5 none&lt;BR /&gt;debug1: kex: client-&amp;gt;server aes128-cbc hmac-md5 none&lt;BR /&gt;debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent&lt;BR /&gt;debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP&lt;BR /&gt;debug1: SSH2_MSG_KEX_DH_GEX_INIT sent&lt;BR /&gt;debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY&lt;BR /&gt;debug1: Host 'hsgccu21' is known and matches the RSA host key.&lt;BR /&gt;debug1: Found key in /home/rgarland/.ssh/known_hosts:1&lt;BR /&gt;debug1: ssh_rsa_verify: signature correct&lt;BR /&gt;debug1: SSH2_MSG_NEWKEYS sent&lt;BR /&gt;debug1: expecting SSH2_MSG_NEWKEYS&lt;BR /&gt;debug1: SSH2_MSG_NEWKEYS received&lt;BR /&gt;debug1: SSH2_MSG_SERVICE_REQUEST sent&lt;BR /&gt;debug1: SSH2_MSG_SERVICE_ACCEPT received&lt;BR /&gt;debug1: Authentications that can continue: external-keyx,gssapi,publickey,password,keyboard-interactive&lt;BR /&gt;debug1: Next authentication method: publickey&lt;BR /&gt;debug1: Trying private key: /home/rgarland/.ssh/identity&lt;BR /&gt;debug1: Trying private key: /home/rgarland/.ssh/id_rsa&lt;BR /&gt;debug1: Trying private key: /home/rgarland/.ssh/id_dsa&lt;BR /&gt;debug1: Next authentication method: keyboard-interactive&lt;BR /&gt;debug1: Authentications that can continue: external-keyx,gssapi,publickey,password,keyboard-interactive&lt;BR /&gt;debug1: Next authentication method: password&lt;BR /&gt;rgarland@hsgccu21's password:&lt;BR /&gt;debug1: Authentication succeeded (password).&lt;BR /&gt;debug1: channel 0: new [client-session]&lt;BR /&gt;debug1: Entering interactive session.&lt;BR /&gt;debug1: channel 0: request pty-req&lt;BR /&gt;debug1: Requesting X11 forwarding with authentication spoofing.&lt;BR /&gt;debug1: channel 0: request x11-req&lt;BR /&gt;debug1: channel 0: request shell&lt;BR /&gt;debug1: channel 0: open confirm rwindow 0 rmax 32768&lt;BR /&gt;debug1: channel_free: channel 0: client-session, nchannels 1&lt;BR /&gt;Connection to hsgccu21 closed by remote host.&lt;BR /&gt;Connection to hsgccu21 closed.&lt;BR /&gt;debug1: Transferred: stdin 0, stdout 0, stderr 79 bytes in 0.1 seconds&lt;BR /&gt;debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 621.6&lt;BR /&gt;debug1: Exit status -1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Try to do ssh on the HPUX host and login again:&lt;BR /&gt;"You don't exist, go away!"&lt;BR /&gt;&lt;BR /&gt;In the syslog on the HPUX server:&lt;BR /&gt;Aug 31 12:19:53 hsgccu21 sshd[1306]: fatal: login_get_lastlog: Cannot find accou&lt;BR /&gt;nt for uid 1004&lt;BR /&gt;&lt;BR /&gt;I do not have the PHCO_28007 patch. I would like to know why on this system but not another system which has same patch levels, OS rev, hardware, etc.&lt;BR /&gt;&lt;BR /&gt;Again, the output from the `id` command:&lt;BR /&gt;uid=1004() gid=122(wheel) groups=101(dba),113(admin)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Aug 2004 13:24:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369085#M195352</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-08-31T13:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: what happened to user account?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369086#M195353</link>
      <description>Trying the passwd command is not working as it replies "Invalid login name."&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Aug 2004 13:38:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369086#M195353</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-08-31T13:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: what happened to user account?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369087#M195354</link>
      <description>put it back on top.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Aug 2004 14:38:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-happened-to-user-account/m-p/3369087#M195354</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-08-31T14:38:12Z</dc:date>
    </item>
  </channel>
</rss>

