problems regarding "This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin"
selder21_at_hotmail.com
Date: 08/25/05
- Next message: mikescollan_at_hotmail.com: "PermitRootLogin not overriding rlogin=false setting"
- Previous message: Michael Lustig: "authentication configuration question"
- Next in thread: Richard E. Silverman: "Re: problems regarding "This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin""
- Reply: Richard E. Silverman: "Re: problems regarding "This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 25 Aug 2005 02:39:55 -0700
Hello,
I have the following unwanted situation:
host1> echo $PATH -> gives a whole list, including
/home/user1/bin
host1> ssh host1 echo '$PATH' -> gives /usr/bin:/bin:/usr/sbin:/sbin
I have a program userapp in /home/user1/bin, which gets executed
perfectly
host1> userapp -> ok
The problem is when I do
host1> ssh host1 userapp -> sh: line 1: userapp: command not
found
I found out that this is an option, compiled in the sshd (according to
my sshd_config file). Is there a way to overwrite the
$PATH=/usr/bin:/bin:/usr/sbin:/sbin without having to install a sshd
version without this built-in feature ? Thanks in advance, Tom
- Next message: mikescollan_at_hotmail.com: "PermitRootLogin not overriding rlogin=false setting"
- Previous message: Michael Lustig: "authentication configuration question"
- Next in thread: Richard E. Silverman: "Re: problems regarding "This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin""
- Reply: Richard E. Silverman: "Re: problems regarding "This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]