version 1.221, 2007/01/21 01:41:54 |
version 1.221.2.1, 2008/03/31 01:07:59 |
|
|
do_xauth = |
do_xauth = |
s->display != NULL && s->auth_proto != NULL && s->auth_data != NULL; |
s->display != NULL && s->auth_proto != NULL && s->auth_data != NULL; |
|
|
/* ignore _PATH_SSH_USER_RC for subsystems */ |
/* ignore _PATH_SSH_USER_RC for subsystems and admin forced commands */ |
if (!s->is_subsystem && (stat(_PATH_SSH_USER_RC, &st) >= 0)) { |
if (!s->is_subsystem && options.adm_forced_command == NULL && |
|
(stat(_PATH_SSH_USER_RC, &st) >= 0)) { |
snprintf(cmd, sizeof cmd, "%s -c '%s %s'", |
snprintf(cmd, sizeof cmd, "%s -c '%s %s'", |
shell, _PATH_BSHELL, _PATH_SSH_USER_RC); |
shell, _PATH_BSHELL, _PATH_SSH_USER_RC); |
if (debug_flag) |
if (debug_flag) |