From 6f8d59d8fcaf391990ca04c7bdcf65ab23320fe0 Mon Sep 17 00:00:00 2001 From: Jan Pechanec Date: Mon, 23 Mar 2009 06:46:46 -0700 Subject: PSARC/2009/155 ChrootDirectory option for SunSSH server 5043377 provide chroot capability in SunSSH 6809398 default PATH in SunSSH should contain "/bin" 6810759 remove md5crypt.c from SunSSH since it's not used 6813038 Subsystem keyword in sshd_config doesn't accept subsystem's options 6772676 ssh default XAuthLocation should be /usr/X11/bin/xauth --- usr/src/cmd/ssh/include/config.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'usr/src/cmd/ssh/include/config.h') diff --git a/usr/src/cmd/ssh/include/config.h b/usr/src/cmd/ssh/include/config.h index c770bbcc99..963aee5bb2 100644 --- a/usr/src/cmd/ssh/include/config.h +++ b/usr/src/cmd/ssh/include/config.h @@ -289,7 +289,7 @@ extern "C" { #define HAVE_GETPAGESIZE 1 /* Define if xauth is found in your path */ -#define XAUTH_PATH "/usr/openwin/bin/xauth" +#define XAUTH_PATH "/usr/X11/bin/xauth" /* Define if rsh is found in your path */ #define RSH_PATH "/usr/bin/rsh" @@ -352,8 +352,13 @@ extern "C" { /* Define if you need to use IP address instead of hostname in $DISPLAY */ /* #undef IPADDR_IN_DISPLAY */ -/* Specify default $PATH */ -#define USER_PATH "/usr/bin" +/* + * Specify the default $PATH. While /bin is a symbolic link to /usr/bin in + * Solaris, to include both of them there may help when users use + * ChrootDirectory options with plain SSH connections, without their own shell + * profiles. + */ +#define USER_PATH "/usr/bin:/bin" /* Specify location of ssh.pid */ #define _PATH_SSH_PIDDIR "/var/run" -- cgit v1.2.3