home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume43 / super / patch02 next >
Encoding:
Internet Message Format  |  1994-06-10  |  2.1 KB

  1. From: will@astro.caltech.edu (William Deich)
  2. Newsgroups: comp.sources.misc
  3. Subject: v43i025:  super - allow certain users to use certain commands as root, v3.4.5, Patch02
  4. Date: 9 Jun 1994 12:45:40 -0500
  5. Organization: Sterling Software
  6. Sender: root@sparky.sterling.com
  7. Approved: kent@sparky.sterling.com
  8. Message-ID: <2t7kg4$bd8@sparky.sterling.com>
  9. X-Md4-Signature: 7211a50227dd12782cd0b7e84c2bffb8
  10.  
  11. Submitted-by: will@astro.caltech.edu (William Deich)
  12. Posting-number: Volume 43, Issue 25
  13. Archive-name: super/patch02
  14. Environment: UNIX
  15. Patch-To: super: Volume 42, Issue 90-92
  16.  
  17. Problem: patterns like
  18.     uuu:ggg    or    uuu:
  19. were not properly matched, hence valid users weren't allowed to execute
  20. commands.
  21.  
  22. Fix: overwrite the colon with a null character.
  23.  
  24. Fix From: Karen L Dickerson (kld@mudshark.sunquest.com)
  25.  
  26.  -------------------
  27. Super(1) is a setuid-root program that offers
  28.  
  29.     o  restricted setuid-root access to executables, adjustable
  30.     on a per-program and per-user basis;
  31.  
  32.     o  a relatively secure environment for scripts, so that well-written
  33.     scripts can be run as root (or some other uid/gid), without
  34.     unduly compromising security.
  35.  -------------------
  36.  
  37. -Will
  38.  
  39. --
  40.  
  41. Will Deich
  42. Caltech  105-24, Pasadena, CA 91125
  43. Internet: will@astro.caltech.edu
  44.  
  45. ---------------------------------> cut here <---------------------------------
  46. *** super.c.old    Mon May  9 13:44:39 1994
  47. --- super.c    Wed May 11 11:49:04 1994
  48. ***************
  49. *** 1212,1218 ****
  50.       } else if (grouppat && *(grouppat+1)) {    /* pat is "uuu:ggg or ":ggg" */
  51.       if (token == grouppat)
  52.           userpat = "^.*$";            /* pat is ":ggg" */
  53. !     grouppat++;
  54.   
  55.       } else {                    /* pat is "uuu" or "uuu:" */
  56.       if (grouppat)
  57. --- 1212,1218 ----
  58.       } else if (grouppat && *(grouppat+1)) {    /* pat is "uuu:ggg or ":ggg" */
  59.       if (token == grouppat)
  60.           userpat = "^.*$";            /* pat is ":ggg" */
  61. !     *grouppat++ = '\0';
  62.   
  63.       } else {                    /* pat is "uuu" or "uuu:" */
  64.       if (grouppat)
  65. *** version.h.old    Mon May  9 13:44:44 1994
  66. --- version.h    Wed May 11 11:51:46 1994
  67. ***************
  68. *** 1,2 ****
  69.   #define Version        "3.4"
  70. ! #define Patchlevel    "6"
  71. --- 1,2 ----
  72.   #define Version        "3.4"
  73. ! #define Patchlevel    "7"
  74.  
  75. exit 0 # Just in case...
  76.