home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / ultrix / 8184 < prev    next >
Encoding:
Text File  |  1992-11-09  |  3.4 KB  |  71 lines

  1. Newsgroups: comp.unix.ultrix
  2. Path: sparky!uunet!sun-barr!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!yale!gumby!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!honte.uleth.ca!sigma.uleth.ca!senetza
  3. From: senetza@sigma.uleth.ca (Len Senetza)
  4. Subject: sylogin for Ultrix available for testing
  5. Message-ID: <senetza.721327156@honte>
  6. Sender: news@honte.uleth.ca (News System)
  7. Organization: University of Lethbridge
  8. Date:  9 Nov 92 16:39:16 GMT
  9. Lines: 60
  10.  
  11. i've written a program called sylogin which is (semi)analagous to the
  12. SYLOGIN.COM file found in VMS systems.  i need some help in testing.  we
  13. have about 6-10 people using it here with no problems.  but, prior to
  14. releasing it net-wide, i'd like some more testers.
  15.  
  16. so, if you are interested in beta testing this program, drop me a line.
  17. only the first 15-20 will be given the program, so if you _really_ want
  18. to do it, get the mail flying.
  19.  
  20. here's the internal doc from the source...
  21.  
  22. /*
  23. *       SYLOGIN
  24. *
  25. *  this program was written as part of a solution.  the problem that we
  26. *    were having dealt with the lack of dial-up lines.  in order for us
  27. *    to get more, we had to be able to control who had access to them.
  28. *
  29. *  in vms, this is easy; just check the port, the time, the user, and if
  30. *    things are allowed, log the user in.  in ultrix, this is not easy.
  31. *    no checks are done during login for what the user is allowed to do.
  32. *
  33. *  so, along comes sylogin.  instead of having a shell in the shell
  34. *    field in /etc/passwd, you put in /usr/bin/sylogin.  then, sylogin
  35. *    will allow you (root) to check all sorts of things via /sylogin.com
  36. *
  37. *  /sylogin.com is a csh script (or sh, or whatever, just change the
  38. *    code) which tells /usr/bin/sylogin to either allow access or to
  39. *    deny access based upon its exit status (0 for allow, 1 for deny).
  40. *
  41. *  another feature of sylogin is that users can choose which shell they
  42. *    want to use.  in a distributed environment (BIND/Hesiod), the
  43. *    'chsh' command doesn't work.  so, what sylogin does is to check
  44. *    the contents of the user's ~/.shell file for a valid shell to run.
  45. *    if the shell is valid, sylogin overlays itself with the shell.  if
  46. *    the shell isn't valid or ~/.shell doesn't exist, /bin/csh is used.
  47. *
  48. *  currently, sylogin has been tested under DECwindows with both the
  49. *    standard window manager as well as Motif.  No problems have arisen
  50. *    (yet).  it has been compiled under Ultrix 4.2 on both VAX and MIPS
  51. *    chips.  i see no reason why it wouldn't work on previous versions
  52. *    of Ultrix, because there isn't any tricky code (most of the length
  53. *    of this file is due to comments).
  54. *
  55. *  History
  56. *  -------
  57. *  921027 1.0   LJS     initial writing, documenting, testing, etc.
  58. *  921106 1.0.1 LJS     fixed bug for setting SHELL env variable.
  59. *
  60. */
  61.  
  62. --
  63.   +-----------------------------------------------------------------------+
  64.   |  Leonard Senetza            |  E-Mail: senetza@alpha.uleth.ca         |
  65.   |  Academic Consultant        |          senetza@hg.uleth.ca            |
  66.   |  University of Lethbridge   |   Phone: 403-329-5162 FAX: 403-382-7108 |
  67.   |  Lethbridge, Alberta        |-----------------------------------------|
  68.   |  Canada, eh?                |  Disclaimer: Why should I tell _them_?  |
  69.   |  T1K 3M4                    |    What they don't know, can't fire me. |
  70.   +-----------------------------------------------------------------------+
  71.