Bugzilla – Attachment 2315 Details for
Bug 2125
Error message "You don't exist, go away!"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
More useful error message
bz2125.diff (text/plain), 1.12 KB, created by
Damien Miller
on 2013-07-12 16:25:42 AEST
(
hide
)
Description:
More useful error message
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2013-07-12 16:25:42 AEST
Size:
1.12 KB
patch
obsolete
>Index: ssh-keygen.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/ssh-keygen.c,v >retrieving revision 1.229 >diff -u -p -r1.229 ssh-keygen.c >--- ssh-keygen.c 12 Jul 2013 05:42:03 -0000 1.229 >+++ ssh-keygen.c 12 Jul 2013 06:25:10 -0000 >@@ -2195,7 +2195,8 @@ main(int argc, char **argv) > /* we need this for the home * directory. */ > pw = getpwuid(getuid()); > if (!pw) { >- printf("You don't exist, go away!\n"); >+ printf("No user exists for uid %lu\n", >+ (u_long)original_real_uid); > exit(1); > } > if (gethostname(hostname, sizeof(hostname)) < 0) { >Index: ssh.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/ssh.c,v >retrieving revision 1.379 >diff -u -p -r1.379 ssh.c >--- ssh.c 12 Jul 2013 05:48:55 -0000 1.379 >+++ ssh.c 12 Jul 2013 06:25:10 -0000 >@@ -270,7 +270,7 @@ main(int ac, char **av) > /* Get user data. */ > pw = getpwuid(original_real_uid); > if (!pw) { >- logit("You don't exist, go away!"); >+ logit("No user exists for uid %lu", (u_long)original_real_uid); > exit(255); > } > /* Take a copy of the returned structure. */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2125
: 2315