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 16926cc3..dbeb587d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
20020607
- (bal) Missed __progname in ssh-keysign.c patch by dtucker@zip.com.au
+ - (bal) use 'LOGIN_PROGRAM' not '/usr/bin/login' in session.c patch by
+ Bertrand.Velle@apogee-com.fr
20020606
- (bal) OpenBSD CVS Sync
@@ -825,4 +827,4 @@
- (stevesk) entropy.c: typo in debug message
- (djm) ssh-keygen -i needs seeded RNG; report from markus@
-$Id: ChangeLog,v 1.2186 2002/06/07 14:37:00 mouring Exp $
+$Id: ChangeLog,v 1.2187 2002/06/07 14:49:56 mouring Exp $
diff --git a/session.c b/session.c
index 5f5843a3..8c6cdada 100644
--- a/session.c
+++ b/session.c
@@ -1118,7 +1118,7 @@ launch_login(struct passwd *pw, const char *hostname)
{
/* Launch login(1). */
- execl("/usr/bin/login", "login", "-h", hostname,
+ execl(LOGIN_PROGRAM, "login", "-h", hostname,
#ifdef xxxLOGIN_NEEDS_TERM
(s->term ? s->term : "unknown"),
#endif /* LOGIN_NEEDS_TERM */