diff options
author | Thomas Osterried <thomas@osterried.de> | 2006-06-10 12:07:01 +0000 |
---|---|---|
committer | Thomas Osterried <thomas@osterried.de> | 2006-06-10 12:07:01 +0000 |
commit | 131e80ec6a0fbe54d1144d30f5fcf4ae5e7d6035 (patch) | |
tree | ef23146745891873aebe4fc060ec56c11dc73d1c /ax25/axspawn.c | |
parent | d29092f4048628c249bff9025550f8ab243a0904 (diff) |
login ... -h <protocol> .. - for nicer wtmp
Diffstat (limited to 'ax25/axspawn.c')
-rw-r--r-- | ax25/axspawn.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ax25/axspawn.c b/ax25/axspawn.c index 1067599..33189aa 100644 --- a/ax25/axspawn.c +++ b/ax25/axspawn.c @@ -1,6 +1,6 @@ /* * - * $Id: axspawn.c,v 1.6 2006/04/15 17:26:36 dl9sau Exp $ + * $Id: axspawn.c,v 1.7 2006/06/10 12:07:01 dl9sau Exp $ * * axspawn.c - run a program from ax25d. * @@ -1639,6 +1639,8 @@ again: if (pwtype != PW_CLEARTEXT /* PW_SYS or PW_MD5 are already authenticated */ || pwcheck == 2 || (pwcheck == 3 && (pw->pw_gid == user_gid || is_guest)) || !strcmp(pw->pw_passwd, "+")) chargv[chargc++] = "-f"; + chargv[chargc++] = "-h"; + chargv[chargc++] = protocol; chargv[chargc++] = as_user; chargv[chargc] = NULL; |