version 1.71, 2019/06/28 13:35:01 |
version 1.71.2.1, 2019/12/04 09:52:22 |
|
|
} |
} |
shell = strrchr(script, '/') + 1; |
shell = strrchr(script, '/') + 1; |
auth_setstate(as, AUTH_OKAY); |
auth_setstate(as, AUTH_OKAY); |
auth_call(as, script, shell, |
if (fflag) { |
fflag ? "-f" : username, fflag ? username : 0, (char *)0); |
auth_call(as, script, shell, "-f", "--", username, |
|
(char *)NULL); |
|
} else { |
|
auth_call(as, script, shell, "--", username, |
|
(char *)NULL); |
|
} |
if (!(auth_getstate(as) & AUTH_ALLOW)) |
if (!(auth_getstate(as) & AUTH_ALLOW)) |
quickexit(1); |
quickexit(1); |
auth_setenv(as); |
auth_setenv(as); |
|
|
} |
} |
|
|
/* |
/* |
* Request the things like the approval script print things |
* Request that things like the approval script print things |
* to stdout (in particular, the nologins files) |
* to stdout (in particular, the nologins files) |
*/ |
*/ |
auth_setitem(as, AUTHV_INTERACTIVE, "True"); |
auth_setitem(as, AUTHV_INTERACTIVE, "True"); |