> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Ron Wells > Sent: Friday, August 03, 2007 12:07 PM > To: IBM-MAIN@BAMA.UA.EDU > Subject: Re: OMVS > > > John--- > Yes---TSO>> OMVS > > as for pref of what the Linux guys want...do not think they > would care..if > easier to get into OMVS that would be better/easier they > would be happy... > > How would that be setup>>not familiar with what you are saying ... >
If you want a regular "telnet", like a "normal" UNIX would use, then you need to pick a port that is not already in use. Port 23 is what UNIX people are used to and is the default, but we already had that in use. So I use port 2023. You need to have the INETD daemon set up per the manual. My setup is rather basic. I have one line in /etc/rc to start it up at IPL time: # Start the INET daemon for remote login activity _BPX_JOBNAME='INETD',/usr/sbin/inetd /etc/inetd.conf & (the first line is a comment, the second line actually starts INETD when z/OS UNIX System Services starts up at IPL time). In /etc/inetd.conf, I have: 2023 stream tcp nowait BPXROOT /usr/sbin/otelnetd otelnetd -l -D login And that is basically that. Once you have this set up, the Linux people can do: telnet zos.ip.address 2023 When they do this, it causes inet to fork() and run the "otelnetd" client. This client asks for the user's RACF userid and password. Once validates, it starts up the shell program contained in the user's OMVS segment, just as the TSO OMVS does. If you want (as I do), and your users need the z/OS UNIX program to be able to do X graphics on their desktop, you can automatically set up the DISPLAY environment variable to point back to their desktop. Well, at least it works for me. You do this by putting the following lines in the /etc/profile startup script: set . $(ps -o args -p $PPID) case "$3" in *telnet*) DISPLAY="$5";; *rlogin*) DISPLAY="$8";; *).DISPLAY="None";; esac DISPLAY="$DISPLAY:0" if [ "$DISPLAY" = "None:0" ] then .unset DISPLAY else .export DISPLAY fi I cannot guarantee that this will work for you. It does on my z/OS 1.6 system. Oh, and the Linux users must authorize the z/OS system to connect to the X server on their desktop via the xhost command. -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it. ---------------------------------------------------------------------- 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