PATH variable for a non-interactive session

From: Peter R. Thorsen Jr. (prt7u_at_kaboom.itc.Virginia.EDU)
Date: 01/20/04


Date: Tue, 20 Jan 2004 15:16:14 +0000 (UTC)

Howdy,

I sent this out last week and checked this morning and didn't see the
article or any replies. So, I'm gonna send it again. I apologize if
you've read it before...

---
Me and a guy that I work with were working on a problem the other day
and the question came up as to where the PATH variable is set for a
non-interactive session.  What I mean by a non-interactive session is
when you run a command on another machine via ssh using the syntax of
ssh loginname@hostname "command that you wanna run"
When I echo the $PATH in both cases, they are different.
Any ideas?
TIA,
Pete


Relevant Pages

  • Path for non-interactive session
    ... What I mean by a non-interactive session is ... ssh loginname@hostname "command that you wanna run" ... Pete ...
    (comp.sys.sgi.admin)
  • Re: Really need help on this one
    ... Is there a way to read the output of a particular command into ... Heres a better example using ssh. ... set timeout $timeout ... exec kill -9 $pid ...
    (comp.lang.tcl)
  • RE: midnight commander and ssh sftp
    ... midnight commander and ssh sftp ... which is displayed at the bottom of the MC panel. ... "Left file command options right" at the top of the MC ... MC SSH session with the remote host by hitting F10 key. ...
    (freebsd-questions)
  • Re: [Info-ingres] problems with ssh
    ... Check the SSHD log on the server for errors. ... ancient version of SSH, unfortunately. ... the command seems to have functioned - but just wont terminate and leaves a process hanging around. ... Duckman: You got anymore of those glues? ...
    (comp.databases.ingres)
  • Scripts using SSH and SSH_ASKPASS
    ... To test SSH scripts you better destroy the control TTY. ... The trick is to run YOUR script on YOUR local ... As for the password relaying command: this needs not be an X command. ... # we read one line from a temporary pipe. ...
    (comp.security.ssh)