[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

930.0. "Customer having problem using <NEWDIR" by SHALOT::BROWN (Make Quality first !) Thu Jun 25 1992 14:47

    We have a customer who is using <NEWDIR to look at another person's
    account when that person has a problem with our layered application. 
    The manager does a <NEWDIR over to the person's account to see if they
    experience the same problem.  When doing this, they often run into 
    inconsistencies, such as seeing different TM reservation dates than the 
    user saw, etc.
    
    We have tried to explain to the customer that using <NEWDIR to
    reproduce a bug is not the best answer.  They say that they do not use
    <NEWDIR when trying to completely repeat the steps, they just use it to
    initially look at the problem.  
    
    What the customer is asking for is an explanation of why <NEWDIR would
    cause such inconsistencies and also if there is another way they can
    look at the person's account without doing <NEWDIR (workaround).
    
    Any help you can provide as far as a good explanation I can give to the
    customer, a possible workaround, etc. would be greatly appreciated.
    
    Regards,
    
    Debbie
T.RTitleUserPersonal
Name
DateLines
930.1Privs, for oneIRONIC::KARPELand ALL-4-1!Thu Jun 25 1992 16:3110
    Debbie,
    
    One thing about <NEWDIR is that you are now in the user's account with
    your own level of privileges.  This means if you were in, say, the
    MANAGER account, you have all those "extra" privs when accessing files. 
    That can account for many differences in what you see.
    
    I'll leave the rest to the experts!
    
    Terri K.
930.2You could hack your VMS usernameIOSG::TALLETTArranging bits for a living...Thu Jun 25 1992 18:1118
    
    	Whilst not supported, I needed to switch between lots of
    	different ALL-IN-1 accounts when testing transfer user. So
    	I used one of those Poke-your-VMS-username-in-Kernel-mode
    	hacks available from MEIS::HACKERS to switch usernames.
    	I could then start up ALL-IN-1 and get into that users filecab
    	with less problems than a NEWDIR (I really WAS in that user's
    	account).
    
    	Made me wonder why ALL-IN-1 still enforces this policy that
    	you can only enter an ALL-IN-1 accountname from the VMS username
    	specified in the PROFILE. It all worked just fine. But then I
    	started thinking of all the support calls we'd start getting
    	if we removed this restriction and people started trying to
    	open other people's file cabs with only half the needed privs...
    
    Regards,
    Paul
930.3But what about NEWDIR itself?SHALOT::LANPHEARTest the water or turn the tide?Thu Jun 25 1992 19:2020
    I don't want to rathole on this, but the USERNAME hack is certainly
    not a great suggestion for our customers(!)  Besides the obvious
    throw-security-out-the-window implications, there are other problems: 
    Assuming you turn on privs, switch username/uic, and turn privs back
    off:
    1)  If you switch to a different group, you now don't have access to
        any of your process, job, or group logical name tables.  You also
        can't duplicate the user's logical name environment.
    2)  You don't have any special identifiers granted by the user's VMS
    	authorization record
    3)  You don't have any of the quotas, etc. from the user's VMS
        authorization record...
    And I'm sure there are many other problems & reasons associated with
    this idea in a customer environment.  There needs to be a VMS$IMPERSONATE,
    but obviously it's not an option :-)
    
    What about the NEWDIR function - it doesn't fully duplicate the user's
    environment does it ?  (besides privs)
    
    						Cheers, Dan'l
930.4As I read the APR....IOSG::PYEGraham - ALL-IN-1 Sorcerer&#039;s ApprenticeFri Jun 26 1992 09:5815
    Re .-several
    
    The APR describes NEWDIR thusly:
    
      The NEWDIR function sets a user's default File Cabinet and ALL-IN-1
      directory to those of another user.
      .
      .
      NEWDIR resets the default directory, and allows you to create and
      modify documents.... NEWDIR does not reassign logical OAUSER.
    
    I read this to mean that NEWDIR is intended *ONLY* to do File Cabinet
    type things, and not any other functionality, like TM for example :-)
    
    Graham
930.5NEWDIR does not = NEWUSERSHALOT::WARFORDRichard Warford @OPA DTN 393-7495Sat Jun 27 1992 03:116
    And note that NEWDIR does not open the libraries for that persons
    profile, or close ones in your list that isn't in that persons. So
    there could be different forms due to user specific, or group specific
    customizations.
    
    Rick
930.6Try using OA$INI_GLOBALSAIMTEC::DONOHUE_FMon Jun 29 1992 16:4215
    
    I was working on something the other day using NEWDIR and found that
    if I used the <OA$INI_GLOBALS to set the special ALL-IN-1 symbols
    after NEWDIRing to anothe rusers account that I could use alot
    of functionality as that user that I previously could not have. TM
    uses alot of sepcial ALL-IN-1 symbols that apparently don't get set
    automatically by doing the NEWDIR.  So, since you carry your privs
    when using NEWDIR, try using the OA$INI_GLOBALS command after entering
    the users account and that will be more like the users environment, but
    again not the same as logging into the users account directly.
    
    Just a thought,
    
    Faith
    
930.7Interesting enough to look intoAIMTEC::ZANIEWSKI_DWhy would CSC specialists need training?Wed Jul 01 1992 19:518
        I think Graham has the answer in .4.  OAUSER is not defined.  The
        problems I've seen with <NEWDIR in the time management subsystem
        is that the fully privileged user can't do certain things like
        print and scan.  If OAUSER isn't set the temporary files produced
        should be someplace other than the subdirectory of the user I've
        <NEWDIR'd to.  I'll test that out soon.
        
        Dave Zaniewski
930.8More features to deal withAIMTEC::ZANIEWSKI_DWhy would CSC specialists need training?Tue Jul 07 1992 00:037
        I just finished testing this one out.  Thanks to Graham in .4 my
        problems can now all be explained.   I don't know specifics about
        the layered application you're having problems with, but if it
        creates temporary files without providing a directory
        specification there doesn't appear to be away around this.
        
        Dave Zaniewski