Displaying 2 results from an estimated 2 matches for "_path_rootpath".
2002 Jul 08
1
PATH problem in Irix.
...6,14 @@
# define _PATH_STDPATH USER_PATH
#endif
+#ifdef _PATH_USERPATH
+# ifdef _PATH_STDPATH
+# undef _PATH_STDPATH
+# endif
+# define _PATH_STDPATH _PATH_USERPATH
+#endif
+
+
#ifndef _PATH_STDPATH
# define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin"
#endif
There's also a _PATH_ROOTPATH defined for root defaults, but I didn't try
to implement that for root login.
--
Andrew Daviel, TRIUMF, Canada
Tel. +1 (604) 222-7376
security at triumf.ca
2001 Mar 15
0
problems compiling on Irix
I think I have resolved my problem, but having typed most of this
I might as well send it.
I have OpenSSH_2.5.1p2 which I am trying to build on Irix 5
In Irix /usr/include/paths.h _PATH_ROOTPATH and
_PATH_USERPATH are defined.
defines.h looks for USER_PATH and _PATH_STDPATH and misses this, so
that sshd does not include the path for X11 when users login. I copied a
chunk of ifdef viz.
#ifdef _PATH_USERPATH
# ifdef _PATH_STDPATH
# undef _PATH_STDPATH
# endif
# define _PATH_STDPATH _PATH_...