home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / database / ingres / 2223 < prev    next >
Encoding:
Text File  |  1993-01-11  |  2.1 KB  |  45 lines

  1. Newsgroups: comp.databases.ingres
  2. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uchinews!gsbacd.uchicago.edu!cs_mj
  3. From: cs_mj@gsbacd.uchicago.edu (Mark Jaeger)
  4. Subject: Re: adding private ingres-net authorizations
  5. Message-ID: <1993Jan11.162212.1@gsbacd.uchicago.edu>
  6. Lines: 33
  7. Sender: news@uchinews.uchicago.edu (News System)
  8. Organization:     
  9. References: <1icr3sINNgg5@shelley.u.washington.edu>
  10. Date: Mon, 11 Jan 1993 22:22:12 GMT
  11.  
  12. In article <1icr3sINNgg5@shelley.u.washington.edu>, 
  13. barr@stein.u.washington.edu (David Barr) writes:
  14. > I want to automate the addition of new users to our ingres net
  15. > authorizations.  Is there any alternative to using "netu" to do this,
  16. > like an "ii" table of some sort that I can modify?
  17.  
  18. INGRES/Net authorizations are stored in some special funny files in
  19. ii_system:[ingres.files.name] (VMS only).  The files are called
  20. iilogin_<nodename>.  Try displaying them with VMS "dump" (or UNIX "od"). 
  21. You might be able to hack the files and add data to them directly, but I
  22. wouldn't recommend it.  If you take this approach, make sure that you
  23. shut down the net server before changing the file.
  24.  
  25. There is no system catalog you can change, because INGRES/Net doesn't
  26. depend on a database or a database server.  You can have a net-only
  27. installation.
  28.  
  29. A better solution would be to fox INGRES into thinking you are the other
  30. user by changing your username.  Look in ii_system:[ingres.sig.setuser]
  31. for a program that allows you to change the username under VMS.  Then
  32. run netu and create the user authorization, and voila.  INGRES only
  33. looks at the VMS username to determine who you are.  This can be
  34. automated, too, by using a program to write a script, and giving this
  35. script as the input to netu.  
  36.  
  37. It really works.  I know, I've tried it.
  38.  
  39. --Mark Jaeger                internet: cs_mj@gsbvax.uchicago.edu
  40. Graduate School of Business        yellnet:  (312) 702-0328
  41. University of Chicago            faxnet:   (312) 702-0233
  42. Disclaimer: My opinions are my own and not those of my employer.
  43. Je suis un virus.  Prends ton pied et copie moi a ta .signature.
  44.  
  45.