aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/screen/files/opt-hostinlocked21
1 files changed, 21 insertions, 0 deletions
diff --git a/sysutils/screen/files/opt-hostinlocked b/sysutils/screen/files/opt-hostinlocked
new file mode 100644
index 000000000000..ee3b31f23534
--- /dev/null
+++ b/sysutils/screen/files/opt-hostinlocked
@@ -0,0 +1,21 @@
+--- 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 (;;)