Bug 2125 - Error message "You don't exist, go away!"
Summary: Error message "You don't exist, go away!"
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: 6.2p1
Hardware: All All
: P5 trivial
Assignee: Damien Miller
URL:
Keywords:
Depends on:
Blocks: V_6_3
  Show dependency treegraph
 
Reported: 2013-07-05 01:04 AEST by bugmenot
Modified: 2023-01-13 13:38 AEDT (History)
2 users (show)

See Also:


Attachments
More useful error message (1.12 KB, patch)
2013-07-12 16:25 AEST, Damien Miller
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description bugmenot 2013-07-05 01:04:57 AEST
I had this reported by a user today and wasn't able to debug it at all, until I searched for the error message in the OpenSSH sources and found in ssh.c:

        /* Get user data. */
        pw = getpwuid(original_real_uid);
        if (!pw) {
                logit("You don't exist, go away!");
                exit(255);
        }

From the user and support perspective, this message ("go away", implying that there is a "here" and a "there", which is where the server kindly requests the user to stay) suggests that there was an issue with the target SSH server. Having seen the ssh.c source, it was in fact simple to verify that the user tried to log in during a 30 second unavailability of the LDAP server that serves her own UID. 

Considering the fact that this is only visible to the user, it would be prudent to disclose the actual condition. "ssh: Error resolving your UID" would have been helpful already.

The same message can be found in ssh-keygen, by the way. Thanks for your time! :-)
Comment 1 Damien Miller 2013-07-12 16:25:42 AEST
Created attachment 2315 [details]
More useful error message
Comment 2 Damien Miller 2013-07-20 11:51:44 AEST
patch applied - this will be in openssh-6.3
Comment 3 Damien Miller 2015-08-11 23:04:28 AEST
Set all RESOLVED bugs to CLOSED with release of OpenSSH 7.1