home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / admin / 6856 < prev    next >
Encoding:
Text File  |  1993-01-01  |  2.7 KB  |  65 lines

  1. Newsgroups: comp.unix.admin
  2. Path: sparky!uunet!spool.mu.edu!umn.edu!umeecs!nova!ellis
  3. From: ellis@nova.gmi.edu (Stew Ellis)
  4. Subject: Re: rlogin - how to pass data to
  5. Message-ID: <ellis.725899274@nova>
  6. Keywords: rlogin
  7. Sender: news@zip.eecs.umich.edu (Mr. News)
  8. Organization: GMI Engineering&Management Institute, Flint, MI
  9. References: <1992Dec31.233038.10090@uunet!fdls!agdept>
  10. Date: Fri, 1 Jan 1993 14:41:14 GMT
  11. Lines: 52
  12.  
  13. walker@uunet!fdls!agdept (Walker) writes:
  14.  
  15. >We are setting up a remote machine that will be limited to data base 
  16. >applications.  All users will login through a host and will operate from a 
  17. >menu on the host.  If the menu item selected is not data base related, such as
  18. >Word Processing, they will execute the application on the host.  But, if
  19. >they select a data base application, such as SANITARIAN INSPECTION
  20. >SCHEDULING, then we want to have them do a transparent rlogin to the remote
  21. >machine
  22. >and execute the data base application.  Since there will be several different
  23. >data base applications on the remote machine, data must somehow be passed to
  24. >the rlogin so a decision can be made about which data base application to
  25. >execute.
  26.  
  27. >As far as I can tell, environmental variables on the host are not passed to
  28. >the remote machine during the rlogin process.  So, I'm seeking advice from
  29. >the net on how to get data about which data base application to select
  30. >passed to the remote login. 
  31.  
  32. >Both the host machine and the remote machine are running Unix V, Release 3.
  33.  
  34. >Thanks.
  35.  
  36. >    . . .  Doug Walker     
  37. >-- 
  38. >-----------------------------------------------------------------------------
  39.  
  40. >Doug Walker       uunet!agdept!walker  -or-  walker@agdept.odag.or.gov
  41. >Oregon Department of Agriculture, Salem, Oregon           (503) 378-5869
  42.  
  43. I am a little unclear concerning your parameters.  You could simply set up a
  44. series of "users" on the database machine, each of which would have a simple
  45. C or perl program or shell script as its "shell".  This "shell" would then
  46. exec your database application with the proper arguments.  It is important
  47. to exec so that when the user exits the DB they are not left with a login
  48. shell on the remote machine.  The switch in your host  menu would then have a
  49. series of statements of the sort:
  50.   rlogin database.machine -l database.user
  51.  
  52.  
  53. There are a lot of issues that need to be clarified to tell whether this
  54. will work.  There are also some security issues that need to be addressed.
  55.  
  56. Hope this points in the right direction.
  57.  
  58.  
  59. --
  60.                                                           ___________________
  61.   R.Stewart(Stew) Ellis, Assoc.Prof., (Off)313-762-9765  /   _____  ______ 
  62.   Humanities & Social Science,  GMI Eng.& Mgmt. Inst.   /        / /  /  / /
  63.   Flint, MI 48504      ellis@nova.gmi.edu              /________/ /  /  / /
  64.