home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 3 / 3186 / README < prev    next >
Encoding:
Text File  |  1991-04-13  |  2.2 KB  |  45 lines

  1. README for SCO Unix $Revision: 1.1 $.
  2.  
  3. This is a replacement su for SCO Unix.  It replaces the complicated rules
  4. for who can su to whom with just two: all except superuser must supply the
  5. correct password to su to another user; and if a group `wheel' exists then
  6. you must be a member of it to su to root.  (For the wheel to be effective
  7. you should restrict root logins; see login(M).)
  8.  
  9. This su also sets the login uid to the new user.  This should not be necessary,
  10. but a number of programs such as `at' and `crontab' refuse to run if the login
  11. uid is different from the real uid.  To add to this stupidity, the setluid(S)
  12. call cannot change the login uid once set, even if called as superuser.  Our
  13. replacement in oksetluid.c changes the login uid by hitting it in /dev/kmem.
  14. This means that YOU MUST RECOMPILE SU FOR NEW OS RELEASES.  The offset of the
  15. login uid might change.
  16.  
  17. The configuration file /etc/default/su is read for the settings SULOG and
  18. CONSOLE.  See the SCO manual page.  Other settings are ignored.
  19.  
  20. This program compiles with the GNU C compiler (gcc), the Microsoft compiler
  21. (cc) and the AT&T compiler (rcc).  The Microsoft compiler will produce three
  22. warnings: one is due to incorrect handling of ?: (use gcc); another is due
  23. to an incorrect prototype in <pwd.h> (fix the include file); and the third
  24. is due to a wrong definition of offsetof() in <stddef.h> (use gcc or fix the
  25. include file).  These warnings can be ignored.
  26.  
  27. It should be possible to compile su on other Unix systems, if you give
  28. -DSecureWare=0 on the command line.  We have compiled but not tested it
  29. on some other systems.
  30.  
  31. We have done our best to make su secure.  However, if you are very concerned
  32. about security this program is not for you; you probably want the SCO C2
  33. security, even though it is severely misguided in many ways.  THE AUTHORS
  34. ACCEPT NO RESPONSIBILITY FOR DAMAGE OR LOSS RESULTING FROM THIS PROGRAM.
  35.  
  36. The file uxnlist.c contains a function that is useful in its own right.
  37. See the comments there for details.
  38.  
  39. This program is not copyrighted and may be used freely.  We hope you find
  40. it useful.
  41.  
  42. Eamonn McManus <em@dce.ie>
  43. Charles Bryant <ch@dce.ie>
  44. Datacode Communications Ltd, Dublin, Ireland.
  45.