diff options
author | Jan Pechanec <Jan.Pechanec@Sun.COM> | 2009-03-23 06:46:46 -0700 |
---|---|---|
committer | Jan Pechanec <Jan.Pechanec@Sun.COM> | 2009-03-23 06:46:46 -0700 |
commit | 6f8d59d8fcaf391990ca04c7bdcf65ab23320fe0 (patch) | |
tree | 2cbfb2de5aa13e0c26adf856439b624f7e69fc31 /usr/src/cmd/ssh/include/config.h | |
parent | ad84d946d04cc1356150710206b0b141a93e935d (diff) | |
download | illumos-joyent-6f8d59d8fcaf391990ca04c7bdcf65ab23320fe0.tar.gz |
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
Diffstat (limited to 'usr/src/cmd/ssh/include/config.h')
-rw-r--r-- | usr/src/cmd/ssh/include/config.h | 11 |
1 files changed, 8 insertions, 3 deletions
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" |