aboutsummaryrefslogtreecommitdiff
path: root/sysutils/screen
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2008-06-10 07:23:27 +0000
committerCy Schubert <cy@FreeBSD.org>2008-06-10 07:23:27 +0000
commite5852451af401f9e0c381f7d2629c1e5206b5f31 (patch)
tree046b4af48952e2589cf10d8e2df2e724327345b9 /sysutils/screen
parent5d05686fd32a9ceeaee0931938de4fb4cc662f3b (diff)
downloadports-e5852451af401f9e0c381f7d2629c1e5206b5f31.tar.gz
ports-e5852451af401f9e0c381f7d2629c1e5206b5f31.zip
Notes
Diffstat (limited to 'sysutils/screen')
-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 (;;)