[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU Inetutils branch, master, updated. inetutils-1_8-36-g6d0597f
From: |
Simon Josefsson |
Subject: |
[SCM] GNU Inetutils branch, master, updated. inetutils-1_8-36-g6d0597f |
Date: |
Tue, 21 Sep 2010 08:53:54 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Inetutils ".
The branch, master has been updated
via 6d0597f75ed75e5ad2e959e52dd88197c61bc95b (commit)
from 3f77d1054a324a579085d3afbb24ee39c3325490 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=6d0597f75ed75e5ad2e959e52dd88197c61bc95b
commit 6d0597f75ed75e5ad2e959e52dd88197c61bc95b
Author: Mats Erik Andersson <address@hidden>
Date: Tue Sep 21 10:53:27 2010 +0200
telnetd/telnetd.c: Use the autodetected PATH_LOGIN.
Signed-off-by: Simon Josefsson <address@hidden>
diff --git a/ChangeLog b/ChangeLog
index 8c99564..1ff6282 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2010-09-15 Mats Erik Andersson <address@hidden>
+ * telnetd/telnetd.c (login_invocation, argp_options):
+ Access login(1) by detected PATH_LOGIN.
+
+2010-09-15 Mats Erik Andersson <address@hidden>
+
* man/Makefile.am: Use expansion "$(MAKE)".
2010-09-21 Simon Josefsson <address@hidden>
diff --git a/telnetd/telnetd.c b/telnetd/telnetd.c
index 48d4536..b72cd73 100644
--- a/telnetd/telnetd.c
+++ b/telnetd/telnetd.c
@@ -39,9 +39,9 @@ static void print_hostinfo (void);
char *login_invocation =
#ifdef SOLARIS
- "/bin/login -h %h %?T{TERM=%T}{-} %?u{%?a{-f }-- %u}"
+ PATH_LOGIN " -h %h %?T{TERM=%T}{-} %?u{%?a{-f }-- %u}"
#else
- "/bin/login -p -h %h %?u{-f %u}"
+ PATH_LOGIN " -p -h %h %?u{-f %u}"
#endif
;
@@ -96,7 +96,7 @@ static struct argp_option argp_options[] = {
{ "debug", 'D', "LEVEL", OPTION_ARG_OPTIONAL,
"set debugging level" },
{ "exec-login", 'E', "STRING", 0,
- "set program to be executed instead of /bin/login" },
+ "set program to be executed instead of " PATH_LOGIN },
{ "no-hostinfo", 'h', NULL, 0,
"do not print host information before login has been completed" },
{ "linemode", 'l', "MODE", OPTION_ARG_OPTIONAL,
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
telnetd/telnetd.c | 6 +++---
2 files changed, 8 insertions(+), 3 deletions(-)
hooks/post-receive
--
GNU Inetutils
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU Inetutils branch, master, updated. inetutils-1_8-36-g6d0597f,
Simon Josefsson <=