e5852451af
PR: 122718 Submitted by: Valentin Nechayev <netch@netch.kiev.ua>
21 lines
548 B
Text
21 lines
548 B
Text
--- attacher.c Sun Oct 2 10:29:36 2005
|
|
+++ attacher.c Sun Oct 2 10:30:18 2005
|
|
@@ -809,6 +809,7 @@
|
|
#else
|
|
char *pass, mypass[16 + 1], salt[3];
|
|
#endif
|
|
+ extern char HostName[];
|
|
|
|
#ifndef USE_PAM
|
|
pass = ppp->pw_passwd;
|
|
@@ -859,8 +860,8 @@
|
|
*cp1 -= 'a' - 'A';
|
|
}
|
|
|
|
- sprintf(message, "Screen used by %s <%s>.\nPassword:\007",
|
|
- fullname, ppp->pw_name);
|
|
+ sprintf(message, "Screen used by %s <%s@%s>.\nPassword:\007",
|
|
+ fullname, ppp->pw_name, HostName);
|
|
|
|
/* loop here to wait for correct password */
|
|
for (;;)
|