Could you use something like this in /etc/profile?
# This line accesses the bash shell for ssh logins
case $TERM in dumb)
: ;;
vt100)
/PortedTools/bash/bin/bash;;
vt340)
/PortedTools/bash/bin/bash;;
*)
esac
Jon L. Veilleux
[email protected]
(860) 636-9179
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of
Andy Robertson
Sent: Wednesday, July 14, 2010 10:09 AM
To: [email protected]
Subject: setting defaults for system variables for users who SSH in to z/OS
We have users on boxen who are SSH-ing in to our z/OS system to run a program
that WTORs to the console and sets a simple return code based on the reply.
We put the program that does the WTOR on a private directory in the z/OS
filesystem.
At the moment, when the SSH is issued from a box, the process that starts up on
z/OS has only the standard directories in its PATH
Is there any way to add our aforementioned private directory to the PATH for
SSH users??
I'm sorry if i've missed an obvious solution: been delving into this a few days
now . ..
**********************************************************************
This email is confidential and may contain copyright material of the John Lewis
Partnership.
If you are not the intended recipient, please notify us immediately and delete
all copies of this message.
(Please note that it is your responsibility to scan this message for viruses).
Email to and from the John Lewis Partnership is automatically monitored for
operational and lawful business reasons.
**********************************************************************
John Lewis plc
Registered in England 233462
Registered office 171 Victoria Street London SW1E 5NN
Websites: http://www.johnlewis.com
http://www.waitrose.com
http://www.greenbee.com
http://www.johnlewispartnership.co.uk
**********************************************************************
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to
[email protected] with the message: GET IBM-MAIN INFO Search the archives at
http://bama.ua.edu/archives/ibm-main.html
This e-mail may contain confidential or privileged information. If
you think you have received this e-mail in error, please advise the
sender by reply e-mail and then delete this e-mail immediately.
Thank you. Aetna
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html