summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d289d13)
raw | patch | inline | side by side (parent: d289d13)
author | Eric W. Biederman <ebiederm@xmission.com> | |
Fri, 15 Jul 2005 00:52:31 +0000 (18:52 -0600) | ||
committer | Linus Torvalds <torvalds@g5.osdl.org> | |
Fri, 15 Jul 2005 17:00:35 +0000 (10:00 -0700) |
If your user name is too long it is your sysadmin who
hates you not your parents!
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
[ Fixed grammar ]
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
hates you not your parents!
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
[ Fixed grammar ]
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
ident.c | patch | blob | history |
index 8da5609cb686432c04cb9ebc1e0bbda273c2b90a..9ef636ee879ad977a3db3a95500eec0b91316567 100644 (file)
--- a/ident.c
+++ b/ident.c
/* Get the name ("gecos") */
len = strlen(pw->pw_gecos);
if (len >= sizeof(real_name))
- die("Your parents must have hated you");
+ die("Your parents must have hated you!");
memcpy(real_name, pw->pw_gecos, len+1);
/* Make up a fake email address (name + '@' + hostname [+ '.' + domainname]) */
len = strlen(pw->pw_name);
if (len > sizeof(real_email)/2)
- die("Your parents must have hated you");
+ die("Your sysadmin must hate you!");
memcpy(real_email, pw->pw_name, len);
real_email[len++] = '@';
gethostname(real_email + len, sizeof(real_email) - len);