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

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

3007.0. "Help with modifying dxsession for accounting" by RT95::PALLONE () Wed Jun 27 1990 21:48

    I have a customer who needs to enter a charge number in at the same
    time a user logs in and to keep track of the time the user is logged 
    in to the system so his time can be charged to the number entered.
    
    Has anyone seen a modified dxsession example which would accomplish
    this? The systems being used will be RISC ULTRIX.
    
    The customer has tried to write a program that essentially captures
    the dxsession and does a fork, creates a child process for dxsession.
    But dxsession quits after about 40 seconds. (The customer is new to X).
    dxsession restarts itself after theapprox 40 second timeout. This same
    method seems to work fine on SUN machines running their non X windowing
    system.
    
    All that would be needed would be to add another message region to
    the dxsession and capture the login logout times. 
    
    Mike
T.RTitleUserPersonal
Name
DateLines
3007.1ABYSS::dikeFri Jun 29 1990 08:513
Why is it necessary to modify dxsession to get this information?  ULTRIX already
keeps track of this information, with or without decwindows.
				Jeff
3007.2Help with modifying dxsession for accountingSCIRE::PALLONETue Jul 10 1990 12:1523
ULTRIX does not keep track of an account number that the customer must enter as 
far as I know. Can you explain to me how ULTRIX does this ?

Do we release the source for DXsession as part of the ULTRIX source kit ?



The customer needs to do a couple of things:

1. force the user to enter a proper account number when logging on to the
   system. This will enable the customer to bill the correct account. Each user
   does not have only one account number to bill to. This is a government
   contractor which needs to have the CAD users log in to the system, enter
   a valid account number (to receive billing for that portion of the day's 
   work).

2. The customer also wants the ability to switch the user to a different 
   directory (other then their home directory) based on the account number 
   entered. They must maintain their normal home directory. The customer 
   is currently doing this on UNIX but not in a DECwindows environment.
   They are experiencing a number of errors when attemping the same type
   of script on ULTRIX.