Re: setting sshd default user $PATH
From: Neil W Rickert (rickert+nn@cs.niu.edu)Date: 02/26/02
- Next message: Ted Smith: "authorized_keys not working (WinXP Client to Linux SSHD)"
- Previous message: Neil W Rickert: "Re: can passwordless SSH work without DNS ?"
- In reply to: hyatts@hursley.ibm.com: "setting sshd default user $PATH"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Neil W Rickert <rickert+nn@cs.niu.edu> Date: 26 Feb 2002 16:01:14 GMT
hyatts@hursley.ibm.com writes:
>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?
I don't think so. I didn't notice this, since my path is reset in my
".cshrc". But a user with bash as default shell had problems. You
can always set the path in "/etc/profile" or similar places for
logins. But for "ssh command" where there is no login shell, you
have to depend on the default. What's so difficult about
recompiling?
- Next message: Ted Smith: "authorized_keys not working (WinXP Client to Linux SSHD)"
- Previous message: Neil W Rickert: "Re: can passwordless SSH work without DNS ?"
- In reply to: hyatts@hursley.ibm.com: "setting sshd default user $PATH"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|