Re: setting sshd default user $PATH
From: those who know me have no need of my name (not-a-real-address@usa.net)Date: 02/26/02
- Next message: those who know me have no need of my name: "Re: SSH instead of rsh problem Help ..."
- Previous message: those who know me have no need of my name: "Re: OpenSSH 3.0.2p1 install runs compiler?"
- In reply to: hyatts@hursley.ibm.com: "setting sshd default user $PATH"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: those who know me have no need of my name <not-a-real-address@usa.net> Date: Tue, 26 Feb 2002 19:41:51 -0000
<a5g1hq$18iq$1@sp15at20.hursley.ibm.com> divulged:
>I'm using openssh to execute commands remotely on a server.
>The $PATH for the remote userid appears to be set by a config
>option when building openssh, namely --with-default-path.
>Is it possible to set this value at run time (eg in the
>sshd config file) to avoid having to recompile?
ssh only sets a default path, it's up to the system and the user to
customize it, e.g., by using login or per-shell scripts. the example
ssh configurations all disable login processing, but you can re-instate
your system's login script handling by setting `uselogin' to yes.
however, that probably won't change anything since you aren't asking for
a login just command execution, and only some shells (csh, tcsh or zsh)
will process per-shell scripts prior to running when they aren't login
or interactive.
-- okay, have a sig then
- Next message: those who know me have no need of my name: "Re: SSH instead of rsh problem Help ..."
- Previous message: those who know me have no need of my name: "Re: OpenSSH 3.0.2p1 install runs compiler?"
- In reply to: hyatts@hursley.ibm.com: "setting sshd default user $PATH"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|