Handling Multiusers in PHWEB ( the late shift )
Bickel, Jon
BickelJ@USFilter.com
Thu, 4 Nov 2004 11:38:26 -0500
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C4C28C.B56FCEB0
Content-Type: text/plain;
charset="iso-8859-1"
Joe,
You are correct, my solution does only simulate the actual user. In my
situation, my only concern was correctly identifying the true user to
present them with their individual menu - the process owner was not
relevant. However, I believe that a large part of my solution would also
apply to the rlogin approach since the true username and encrypted password
do get passed from browser to webserver to Unix.
jb
-----Original Message-----
From: Joe Boyle [mailto:joeboyle_adt@hotmail.com]
Sent: Thursday, November 04, 2004 10:11 AM
To: 'Bickel, Jon'; powerh-l@lists.sowder.com
Subject: RE: Handling Multiusers in PHWEB ( the late shift )
Hi Jon ( all ),
from Brian's suggested script I am guessing that he wants to run the process
actually logged in as the user concerned, which is a solution I would be
interested in myself.
I have looked at your email again and your comment below, which suggests
that your solution only simulates actually being logged in ( which is also
great if that is what you want :-)
'The actual logonid of the session is still the web server administrator,
but the temp space is effectively that of the true userid (and the true
userid is available as an environmental variable for all downstream
processes).'
I like the rlogin idea and wonder if it isn't possible to put the $2
variable on the second line, to be picked up by the password request prompt,
as below ? ( it's a while since I ran a rlogin call and I am assuming that
there is a password prompt at this point )
rlogin theserver -l $1
$2
Regards, Joe.
This e-mail and all information contained in it is confidential and may be
legally privileged. If you are not the intended recipient, your access to
this e-mail is unauthorized. Any use, dissemination, distribution,
publication or copying by you of this e-mail or any of the information
contained within it is prohibited and may be unlawful. Do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so. The content of this
e-mail and any attachments sent with it may have been altered without the
consent or knowledge of the author.
------_=_NextPart_001_01C4C28C.B56FCEB0
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1476" name=GENERATOR>
<STYLE>@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 77.95pt 72.0pt 77.95pt; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
P.MsoPlainText {
FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Courier New"
}
LI.MsoPlainText {
FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Courier New"
}
DIV.MsoPlainText {
FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Courier New"
}
DIV.Section1 {
page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=970523416-04112004>Joe,
</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=970523416-04112004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=970523416-04112004>You
are correct, my solution does only simulate the actual user. In my
situation, my only concern was correctly identifying the true user to present
them with their individual menu - the process owner was not relevant.
However, I believe that a large part of my solution would also apply to the
rlogin approach since the true username and encrypted password do get passed
from browser to webserver<SPAN class=040485116-04112004> to
Unix</SPAN>.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=970523416-04112004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=970523416-04112004>jb</SPAN></FONT></DIV></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Joe Boyle
[mailto:joeboyle_adt@hotmail.com]<BR><B>Sent:</B> Thursday, November 04, 2004
10:11 AM<BR><B>To:</B> 'Bickel, Jon';
powerh-l@lists.sowder.com<BR><B>Subject:</B> RE: Handling Multiusers in PHWEB
( the late shift )<BR><BR></FONT></DIV>
<DIV class=Section1>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt">Hi Jon ( all ),<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt">from Brian's suggested script I am guessing that he
wants to run the process actually logged in as the user concerned, which is a
solution I would be interested in myself.<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt">I have looked at your email again and your comment
below, which suggests that your solution only simulates actually being logged
in ( which is also great if that is what you want
:-)<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoPlainText style="MARGIN-LEFT: 36pt"><FONT face="Courier New"
size=2><SPAN style="FONT-SIZE: 10pt">'The actual logonid of the session is
still the web server administrator, but the temp space is effectively that of
the true userid (and the true userid is available as an environmental variable
for all downstream processes).'<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt">I like the rlogin idea and wonder if it isn't possible
to put the $2 variable on the second line, to be picked up by the password
request prompt, as below ? ( it's a while since I ran a rlogin call and I am
assuming that there is a password prompt at this point
)<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt">rlogin theserver -l $1<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt">$2<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt">Regards, Joe.<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt">This e-mail and all information contained in it is
confidential and may be legally privileged. If you are not the intended
recipient, your access to this e-mail is unauthorized. Any use, dissemination,
distribution, publication or copying by you of this e-mail or any of the
information contained within it is prohibited and may be unlawful. Do not open
any attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so. The content of this
<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt">e-mail and any attachments sent with it may have been
altered without the consent or knowledge of the
author.<o:p></o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoPlainText><FONT face=Arial color=#0000ff size=2><SPAN
style="FONT-SIZE: 10pt"><o:p></o:p></SPAN></FONT> </P></DIV></BLOCKQUOTE></BODY></HTML>
------_=_NextPart_001_01C4C28C.B56FCEB0--