summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-07 14:49:56 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-06-07 14:49:56 +0000
commit378a417389beef8a2e312bbbb0269b9f2ab379f6 (patch)
treebde3d911ac111a5c7481cb579c84e26e14e8bb01
parent3545352dc4ae245ebadc3e11ca250248ce2b99e3 (diff)
- (bal) use 'LOGIN_PROGRAM' not '/usr/bin/login' in session.c patch by
Bertrand.Velle@apogee-com.fr
-rw-r--r--ChangeLog4
-rw-r--r--session.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 16926cc3c..dbeb587d9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
120020607 120020607
2 - (bal) Missed __progname in ssh-keysign.c patch by dtucker@zip.com.au 2 - (bal) Missed __progname in ssh-keysign.c patch by dtucker@zip.com.au
3 - (bal) use 'LOGIN_PROGRAM' not '/usr/bin/login' in session.c patch by
4 Bertrand.Velle@apogee-com.fr
3 5
420020606 620020606
5 - (bal) OpenBSD CVS Sync 7 - (bal) OpenBSD CVS Sync
@@ -825,4 +827,4 @@
825 - (stevesk) entropy.c: typo in debug message 827 - (stevesk) entropy.c: typo in debug message
826 - (djm) ssh-keygen -i needs seeded RNG; report from markus@ 828 - (djm) ssh-keygen -i needs seeded RNG; report from markus@
827 829
828$Id: ChangeLog,v 1.2186 2002/06/07 14:37:00 mouring Exp $ 830$Id: ChangeLog,v 1.2187 2002/06/07 14:49:56 mouring Exp $
diff --git a/session.c b/session.c
index 5f5843a3d..8c6cdadad 100644
--- a/session.c
+++ b/session.c
@@ -1118,7 +1118,7 @@ launch_login(struct passwd *pw, const char *hostname)
1118{ 1118{
1119 /* Launch login(1). */ 1119 /* Launch login(1). */
1120 1120
1121 execl("/usr/bin/login", "login", "-h", hostname, 1121 execl(LOGIN_PROGRAM, "login", "-h", hostname,
1122#ifdef xxxLOGIN_NEEDS_TERM 1122#ifdef xxxLOGIN_NEEDS_TERM
1123 (s->term ? s->term : "unknown"), 1123 (s->term ? s->term : "unknown"),
1124#endif /* LOGIN_NEEDS_TERM */ 1124#endif /* LOGIN_NEEDS_TERM */