Re: switch user without logoff

2007-01-03 Thread David Boyes
It works just fine with telnet. It's just a connection method; the login
command syntax is the same. 

 



From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Zoltan Balogh
Sent: Wednesday, January 03, 2007 3:01 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: switch user without logoff

 


Hi, and good morning :)

I'll read all post after my previous, but first of all.. telnet cant be
a good way for me because i can login only with logon by, and "help
telnet" dont tell me any possibility for VM like logonby connection... 

Zoltan



Re: switch user without logoff

2007-01-03 Thread McKown, John
Or TELNET 127.0.0.1 to get to the "localhost"? That's what I do, on
occassion, on Linux.
 
 

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.
  

-Original Message-
From: The IBM z/VM Operating System
[mailto:[EMAIL PROTECTED] On Behalf Of Huegel, Thomas
Sent: Tuesday, January 02, 2007 4:11 PM
To: IBMVM@LISTSERV.UARK.EDU
    Subject: Re: switch user without logoff


I am not sure what you are trying to do but you might try using
telnet.
From your logged on CMS just telnet xxx.xxx.xxx.xxx < == your
z/VM systems IP.
This should allow you to logon to something else, without
killing your old logon.



Re: switch user without logoff

2007-01-03 Thread Kris Buelens
> On 1/3/07, Zoltan Balogh <[EMAIL PROTECTED]> wrote:

> > I admit it is just a simple, not so important thing in my life now, 
but who
> > knows perhaps when things go harder maybe i can use this knowledgein 
future
> > too. And i think these kind of "lazy" things can make good results.

> Much of what you see in VM is because of bright systems programmers
> who came up with ways to do things easier or faster. The virtual
> machine architecture combined with CMS, REXX and CMS Pipelines gives
> you a great framework to automate things in a reliable way.

> Rob

And I say I'm lazy because:
- I hardly ever log off of my user and do everything from there
- I almost never do repeated work: VM with REXX etc make that I can code 
something 
  so that I do it only once.  Example: my SCIF EXEC makes that my fingers 
can be 
  lazier (I no longer need to type "CP SENC uid" before each command)

Kris,
IBM Belgium, VM customer support


Re: switch user without logoff

2007-01-03 Thread Rob van der Heij

On 1/3/07, Zoltan Balogh <[EMAIL PROTECTED]> wrote:


I admit it is just a simple, not so important thing in my life now, but who
knows perhaps when things go harder maybe i can use this knowledge in future
too. And i think these kind of "lazy" things can make good results.


Much of what you see in VM is because of bright systems programmers
who came up with ways to do things easier or faster. The virtual
machine architecture combined with CMS, REXX and CMS Pipelines gives
you a great framework to automate things in a reliable way.

Rob


Re: switch user without logoff

2007-01-03 Thread Zoltan Balogh

Always give hard problems to the laziest man you know. They'll find the
least difficult way to solve the problem.


I think it would be more lazier if i just do all the thing how i learned,
without thinking how can i make things better, easier and safer.
I admit it is just a simple, not so important thing in my life now, but who
knows perhaps when things go harder maybe i can use this knowledge in future
too. And i think these kind of "lazy" things can make good results.


Re: switch user without logoff

2007-01-03 Thread Rob van der Heij

On 1/3/07, Zoltan Balogh <[EMAIL PROTECTED]> wrote:


I'll read all post after my previous, but first of all.. telnet cant be a
good way for me because i can login only with logon by, and "help telnet"
dont tell me any possibility for VM like logonby connection...


Oh yes. If you TELNET you get to the VM logon screen and there you can
issue the logon xxx BY xxx.

Using PASSTHRU or SESSION from your CMS userid was popular when we had
physical terminals with limited number of sessions or when there is
limited connectivity to the target system. And for the MVS people it
was often a VTAM application playing (multi) session manager.  A
special "temporary disconnect" allows you to go back and forth while
keeping the target session open in the background. The biggest
drawback is that you tie up the CMS session when you reach out to the
other target session.
Most folks today have a workstation with a TN3270 client. In that case
it is much easier to just open a new session on the workstation and
navigate between the sessions.

Some of the analogies just don't do it when you try to find "a way to
do it on VM" and it helps to understand what function you really need.
As others suggested with TRACK, you don't have to logon to the userid
to see (part of) console output. Also, many applications keep log
files on disk where you can see them, or you may need to close the
spooled console to see things. Quite often we find it easier to review
log files to see what happened rather than "try it again while we're
looking at it"

I find the "SEND" very effective in doing things for other virtual
machines (either with or without SCIF). If you make PROP the secondary
console for your service machines you have central logging plus the
ability to issue commands without leaving your place.

Rob


Re: switch user without logoff

2007-01-02 Thread Zoltan Balogh

Hi, and good morning :)

I'll read all post after my previous, but first of all.. telnet cant be a
good way for me because i can login only with logon by, and "help telnet"
dont tell me any possibility for VM like logonby connection...

Zoltan


Re: switch user without logoff

2007-01-02 Thread Alan Altmark
On Wednesday, 01/03/2007 at 01:00 CET, Zoltan Balogh 
<[EMAIL PROTECTED]> wrote:

> Nowadays i finished all change what i could do for make things easier, 
but i 
> was thinking of maybe possible to do the checking phase (using two user 
with 
> method logon by) without have to logon manually to each user. I know it 
is a 
> very lazy thing, but while im trying to solve problems i know more the 
VM and 
> ill see more its borders, what can i do and what not. And if i can do 
it, how.
> 
> So this is the answer to your question, what do i want to do ( and a 
some kind 
> of why in my long story)

In this case, from a privileged id, 
   CP SET SECUSER otheruser *

This will let you watch AND interact (using the CP SEND command) with 
another userid.  If you only want to watch the userid, use CP SET OBSERVER 
instead.

The previous reference to "SCIF" (Secondary Console Image Facility) is the 
same thing.

Alan Altmark
z/VM Development
IBM Endicott


Re: switch user without logoff

2007-01-02 Thread Adam Thornton

On Jan 2, 2007, at 5:24 PM, Mike Walter wrote:

Didn't Arty Ecock had another program named "session" that built an  
LDEV

on an existing logged on CMS userid, and popped you into that session?


That seems to be the "session" we have on our system.

A bit of googling:

http://ukcc.uky.edu/~tools.1996/session.vmarc

Adam


Re: switch user without logoff

2007-01-02 Thread David Boyes
> Nowadays i finished all change what i could do for make things easier,
but > i was thinking of maybe possible to do the checking phase (using
two user > with method logon by) without have to logon manually to each
user. I know > it is a very lazy thing, but while im trying to solve
problems i know more > the VM and ill see more its borders, what can i
do and what not. And if i > can do it, how.

Always give hard problems to the laziest man you know. They'll find the
least difficult way to solve the problem. 

Look around for a copy of RXLDEV. RXLDEV is a REXX function package that
allows you to create and manipulate CP LDEVs from REXX. Once you can do
that, you can automate just about anything. 

If all you need is to issue some line-mode commands and trap the output,
don't forget that telnet can be simulated in REXX by using RXSOCKET
calls connecting to port 23. 

Two other must-have tools: SESSION has already been mentioned, and if
you have a privileged ID, you must have a copy of TRACK. I carry them on
a USB drive everywhere I go. 


Re: switch user without logoff

2007-01-02 Thread David Boyes
> 1. Create another emulator session to connect to VM and use your
> emulator's own "jump next" key to switch between sessions.
> 
> 2. If you are connected to a 3270 terminal controller (e.g. 3174), use
the
> Multiple Logical Terminal (MLT) function of the controller to perform
the
> switch function.
> 
> 3. Download the YVETTE package from the VM Download Library.  You can
> program a PF/PA key to act as the "jump next" key.

4. Download the SESSION utility from any site having the VM Workshop
tools. You can create arbitrary numbers of sessions (I typically have
8-10 defined) and switch between them with a PF key or by name. Each
session does need to be a separate userid, though; nothing equivalent to
'su' within the same session.

YVETTE's got some more sophisticated features, but SESSION requires zero
installation and configuration; copy the binary someplace convenient,
SESSION FOO PF12, and you're off. Hit PF12 (or whatever you defined the
exit key to be), and you're back to the original session. You can even
run SESSION from inside XEDIT if you need to pop over to another id and
check something out and come right back to where you left off. 


Re: switch user without logoff

2007-01-02 Thread Thomas Kern
Okay, so how I read your problem is that you have some process running in
another virtual machine and you want to check it without logging off your id
and logging onto the other id. 

There are several ways and I sometimes use all of them. First, spool the
console of the process virtual machine, write status messages to that virtual
console, get the TRACK program to view the current open console buffer. Or get
the VM:Spool product from CA and use it to view the entire console log. Another
way is to write those status messages to a file on a minidisk and use "VMLINK
processid cuu ( FILELIST" to look at the current read-only view of the status
file. An older style of sending status messages is to at regular intervals,
send a punch file with a status message in it to your monitoring userid, and
user RDRLIST/PEEK to view the status messages.

There are more advanced techniques like including an SMSG/IUCV handler into
your process virtual machine to intercept, parse and respond to queries for
status messages. 

/Tom Kern
/301-903-2211

--- Zoltan Balogh <[EMAIL PROTECTED]> wrote:

> First of all, if i forget: Happy new Year, happy 2007!
> 
>   ...snipped...
> Nowadays i finished all change what i could do for make things easier, but i
> was thinking of maybe possible to do the checking phase (using two user with
> method logon by) without have to logon manually to each user. I know it is a
> very lazy thing, but while im trying to solve problems i know more the VM
> and ill see more its borders, what can i do and what not. And if i can do
> it, how.
> 
> So this is the answer to your question, what do i want to do ( and a some
> kind of why in my long story)
> 
> Zoltan
> 
> Ps: Ill give a try the telnet, perhaps the "users" have right for using
> telnet.
> 
> (the logins i log into are seems only for checking and maintaining, if i
> good well they arent kind of service machines, or maybe only at night)
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: switch user without logoff

2007-01-02 Thread Don Russell

Tom Duerbusch wrote:

There was a package.

[snip]

Now that it is comming back to me, the package name was "sessions".  In
the last 10 years, I've always had either a mainframe session manager
product (such as tubes), or TN3270 session (which you can have as many
as you are willing to support).

I don't know if "sessions" was ever upgraded to ESA (and beyond), but a
product like what you are looking for, did exist.  Free package, that
is.


We have a "session" command which creates an LDEV and presents the VM 
logon screen. I'm not sure if this is the same "sessions" Tom is 
referring to, but it's running fine on our z/VM 4.4 system.


Since I connect to VM with some flavour of TN3270E, I usually just open 
another session, that way I can have both VM sessions visible at once.


The "session" command allows me to flip back and forth between two IDs 
with a PF key, but there's nothing like having both visible at the same 
time.


However, I use "session" more and more to log on quickly for a specific 
task because the method we have to use to get logged on is getting more 
and more inconvenient in the name of security. I won't go off on that 
tangent now.. :-)


Don Russell


Re: switch user without logoff

2007-01-02 Thread Rick Troth
Not sure what you are after, but maybe  #CP DISC HOLD  will help?
To me, it is a lot like the "switch user" feature of some Unix/Linux
X session managers and of Windows (XP) home edition.

If you're connected via VTAM, your "session" usually remains.
If you're connected via TELNET, your "session" usually drops when you
DISConnect or LOGOFF.  But the HOLD option retains the connection.
Very handy.  Conceptually like a "switch user" function.

I second Mike Walter's endorsement of SESSION.

-- R;


Re: switch user without logoff

2007-01-02 Thread Zoltan Balogh

First of all, if i forget: Happy new Year, happy 2007!


Tell the truth i had many problem about posting this problem to list because
SMTP server didnt want to follow in 2006. At least for one week when ive got
a new message what isnt contained: it just a warning message, you dont have
to resend your email. Then i tried again, and that time i was lucky.

So it is just a simple story about the source message, and what i wanted to
say yet: i always very happy i got many help and ideas how can i solve my
problems. So a very big thank you for you all!

Ok, back to the questions. Sorry i start with a little story too for getting
picture a bit more about my line of my questions. Im working at IBM, ive got
this job in end of september, about 3 month after i got my degree.
I knew ill work with mainframes, with VM. Ive got basic and advanced level
knowledges of VM using and administrating. Now me and one of my collegue got
a project what is started to migrating to our country some month ago, almost
the time when i joined. Nowadays i have to check logs and files and -tell
the truth-  ive got many free time. So i started to make some rexx & pipe
prog for my fun (see: questions about using colors) and  i tried to make the
checking  phase a bit more easier if i can (see: problems with  starting
exec's from  an exec).


Nowadays i finished all change what i could do for make things easier, but i
was thinking of maybe possible to do the checking phase (using two user with
method logon by) without have to logon manually to each user. I know it is a
very lazy thing, but while im trying to solve problems i know more the VM
and ill see more its borders, what can i do and what not. And if i can do
it, how.

So this is the answer to your question, what do i want to do ( and a some
kind of why in my long story)

Zoltan

Ps: Ill give a try the telnet, perhaps the "users" have right for using
telnet.

(the logins i log into are seems only for checking and maintaining, if i
good well they arent kind of service machines, or maybe only at night)


Re: switch user without logoff

2007-01-02 Thread Mike Walter
One "Sessions" was a freebie "value add" from Amdahl for their customers. 
Great stuff.  Instead of logging on, you issued a DIAL PIE (or whatever 
server name you used) command and it permitted starting up and 
hot-switching up to 12 logons from that single screen.

Didn't Arty Ecock had another program named "session" that built an LDEV 
on an existing logged on CMS userid, and popped you into that session?

The old Amdahl Sessions tool was bought by Technologic Software Concepts 
or Irvine, CA.  They renamed it Pie/VM-Sessions, enhanced and supported it 
for many years before their direction changed. They formally dropped the 
product and its support on January 1, 2000 (killed by Y2K; with few 
customers they did not want to spend time re-writing the code to validate 
the CPU serial number against the 4-digit date).

But PC terminal emulation software has pretty much made it obsolete 
anyway, although with an added cost of a communications connection for 
every emulator session.  With TCPIP, the cost of the connections is pretty 
insignificant - SNA was a little more expensive.

None of those were anything like Linux's sudo.  If the requirements were 
made clearer, perhaps we could address it another way (maybe using SCIF, 
or a server running a command authorization program).

Mike Walter 
Hewitt Associates 
Any opinions expressed herein are mine alone and do not necessarily 
represent the opinions or policies of Hewitt Associates.




"Tom Duerbusch" <[EMAIL PROTECTED]> 

Sent by: "The IBM z/VM Operating System" 
01/02/2007 04:39 PM
Please respond to
"The IBM z/VM Operating System" 



To
IBMVM@LISTSERV.UARK.EDU
cc

Subject
Re: switch user without logoff






There was a package.

It was a user contributed program on VM/SP days.
You would type the program name with a name and it would create a LDEV
device with that session name.

You would then get the VM logo, sign on to that CMS (or do a DIAL to
some multi-user system, such as VSE), and you could hotkey between that
session and the base session.  That is as close to the Linux "su"
command I've ever seen.

Now that it is comming back to me, the package name was "sessions".  In
the last 10 years, I've always had either a mainframe session manager
product (such as tubes), or TN3270 session (which you can have as many
as you are willing to support).

I don't know if "sessions" was ever upgraded to ESA (and beyond), but a
product like what you are looking for, did exist.  Free package, that
is.

Tom Duerbusch
THD Consulting

>>> [EMAIL PROTECTED] 12/31/2006 7:00 AM >>>
Hi

Is it possible to swich user (normally or with logon by method)
without
logoff under z/VM?
I find passthru but it seems not for this kind of problem..




 
The information contained in this e-mail and any accompanying documents may 
contain information that is confidential or otherwise protected from 
disclosure. If you are not the intended recipient of this message, or if this 
message has been addressed to you in error, please immediately alert the sender 
by reply e-mail and then delete this message, including any attachments. Any 
dissemination, distribution or other use of the contents of this message by 
anyone other than the intended recipient 
is strictly prohibited.


Re: switch user without logoff

2007-01-02 Thread Wakser, David
 
You could also TELNET to the VM stack from the user, sign on as a second
user, and when exiting from the 2nd TELNET session, you will be back in
the original session. Would that work for you?

David Wakser
InfoCrossing


Re: switch user without logoff

2007-01-02 Thread Thomas Kern
If you don't want to use something like DISCONNECT/LOGON but to have two
userids at your disposal at the same time, there is a SCIF exec that is a
wrapper for the CO SET SECUSER and CP SEND commands. I am at home now, but I
can find out where I got it when I get into the office tomorrow.

/Tom Kern

--- "McKown, John" <[EMAIL PROTECTED]> wrote:

> Do you mean something like the UNIX "su - userid"? I don't know of any.
>  
>  
> 
> --
> John McKown
> Senior Systems Programmer
> HealthMarkets
> Keeping the Promise of Affordable Coverage
> Administrative Services Group
> Information Technology
> 
> This message (including any attachments) contains confidential
> information intended for a specific individual and purpose, and its
> content is protected by law.  If you are not the intended recipient, you
> should delete this message and are hereby notified that any disclosure,
> copying, or distribution of this transmission, or taking any action
> based on it, is strictly prohibited.
>   
> 
>   -Original Message-
>   From: The IBM z/VM Operating System
> [mailto:[EMAIL PROTECTED] On Behalf Of Zoltan Balogh
>       Sent: Sunday, December 31, 2006 7:00 AM
>   To: IBMVM@LISTSERV.UARK.EDU
>   Subject: switch user without logoff
>   
>   
>   Hi
>   
>   Is it possible to swich user (normally or with logon by method)
> without
>   logoff under z/VM?
>   I find passthru but it seems not for this kind of problem..
>   
>   
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: switch user without logoff

2007-01-02 Thread Tom Duerbusch
There was a package.

It was a user contributed program on VM/SP days.
You would type the program name with a name and it would create a LDEV
device with that session name.

You would then get the VM logo, sign on to that CMS (or do a DIAL to
some multi-user system, such as VSE), and you could hotkey between that
session and the base session.  That is as close to the Linux "su"
command I've ever seen.

Now that it is comming back to me, the package name was "sessions".  In
the last 10 years, I've always had either a mainframe session manager
product (such as tubes), or TN3270 session (which you can have as many
as you are willing to support).

I don't know if "sessions" was ever upgraded to ESA (and beyond), but a
product like what you are looking for, did exist.  Free package, that
is.

Tom Duerbusch
THD Consulting

>>> [EMAIL PROTECTED] 12/31/2006 7:00 AM >>>
Hi

Is it possible to swich user (normally or with logon by method)
without
logoff under z/VM?
I find passthru but it seems not for this kind of problem..


Re: switch user without logoff

2007-01-02 Thread Alan Altmark
On Sunday, 12/31/2006 at 02:00 CET, Zoltan Balogh 
<[EMAIL PROTECTED]> wrote:
> Is it possible to swich user (normally or with logon by method) without
> logoff under z/VM?
> I find passthru but it seems not for this kind of problem..

No, there is no built-in "hot key" function in CP maintain multiple 
terminal sessions on a single (real or logical) connection.  I suggest one 
of the following (in order of preference):

1. Create another emulator session to connect to VM and use your 
emulator's own "jump next" key to switch between sessions.

2. If you are connected to a 3270 terminal controller (e.g. 3174), use the 
Multiple Logical Terminal (MLT) function of the controller to perform the 
switch function.

3. Download the YVETTE package from the VM Download Library.  You can 
program a PF/PA key to act as the "jump next" key.

Alan Altmark
z/VM Development
IBM Endicott


Re: switch user without logoff

2007-01-02 Thread Huegel, Thomas
I am not sure what you are trying to do but you might try using telnet.
>From your logged on CMS just telnet xxx.xxx.xxx.xxx < == your z/VM systems
IP.
This should allow you to logon to something else, without killing your old
logon.

-Original Message-
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED]
Behalf Of Zoltan Balogh
Sent: Sunday, December 31, 2006 7:00 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: switch user without logoff


Hi

Is it possible to swich user (normally or with logon by method) without
logoff under z/VM?
I find passthru but it seems not for this kind of problem..




  _  

<< ella for Spam Control >> has removed 9341 VSE-List messages and set aside
6407 VM-List for me
You can use it too - and it's FREE!   www.ellaforspam.com
<http://www.ellaforspam.com>


Re: switch user without logoff

2007-01-02 Thread McKown, John
Do you mean something like the UNIX "su - userid"? I don't know of any.
 
 

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.
  

-Original Message-
From: The IBM z/VM Operating System
[mailto:[EMAIL PROTECTED] On Behalf Of Zoltan Balogh
Sent: Sunday, December 31, 2006 7:00 AM
To: IBMVM@LISTSERV.UARK.EDU
    Subject: switch user without logoff


Hi

Is it possible to swich user (normally or with logon by method)
without
logoff under z/VM?
I find passthru but it seems not for this kind of problem..





switch user without logoff

2007-01-02 Thread Zoltan Balogh

Hi

Is it possible to swich user (normally or with logon by method) without
logoff under z/VM?
I find passthru but it seems not for this kind of problem..