Bug 2125

Summary: Error message "You don't exist, go away!"
Product: Portable OpenSSH Reporter: bugmenot
Component: sshAssignee: Damien Miller <djm>
Status: CLOSED FIXED    
Severity: trivial CC: djm, dtucker
Priority: P5    
Version: 6.2p1   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 2076    
Attachments:
Description Flags
More useful error message none

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