> the btmp code in loginrec is derived from login from util-linux correct?
Yes referred from util-linux .
> This bit is unnecessary, the PRIVSEP macro is for this purpose, ie:
> debug("=== calling log_btmp uid %d ===\n", getuid());
> PRIVSEP(log_btmp(authctxt->user,get_canonical_hostname(options.use_dns)));
I tried this, PRIVSEP macro may require a redefinition in auth.c. since it
reports a linker error "ld: Unsatisfied symbol "PRIVSEP" in file auth.o"
> the btmp code in loginrec is derived from login from util-linux correct?
Yes referred from util-linux .
> This bit is unnecessary, the PRIVSEP macro is for this purpose, ie: log_btmp( authctxt- >user,get_ canonical_ hostname( options. use_dns) ));
> debug("=== calling log_btmp uid %d ===\n", getuid());
> PRIVSEP(
I tried this, PRIVSEP macro may require a redefinition in auth.c. since it
reports a linker error "ld: Unsatisfied symbol "PRIVSEP" in file auth.o"