home *** CD-ROM | disk | FTP | other *** search
- From: will@astro.caltech.edu (William Deich)
- Newsgroups: comp.sources.misc
- Subject: v43i025: super - allow certain users to use certain commands as root, v3.4.5, Patch02
- Date: 9 Jun 1994 12:45:40 -0500
- Organization: Sterling Software
- Sender: root@sparky.sterling.com
- Approved: kent@sparky.sterling.com
- Message-ID: <2t7kg4$bd8@sparky.sterling.com>
- X-Md4-Signature: 7211a50227dd12782cd0b7e84c2bffb8
-
- Submitted-by: will@astro.caltech.edu (William Deich)
- Posting-number: Volume 43, Issue 25
- Archive-name: super/patch02
- Environment: UNIX
- Patch-To: super: Volume 42, Issue 90-92
-
- Problem: patterns like
- uuu:ggg or uuu:
- were not properly matched, hence valid users weren't allowed to execute
- commands.
-
- Fix: overwrite the colon with a null character.
-
- Fix From: Karen L Dickerson (kld@mudshark.sunquest.com)
-
- -------------------
- Super(1) is a setuid-root program that offers
-
- o restricted setuid-root access to executables, adjustable
- on a per-program and per-user basis;
-
- o a relatively secure environment for scripts, so that well-written
- scripts can be run as root (or some other uid/gid), without
- unduly compromising security.
- -------------------
-
- -Will
-
- --
-
- Will Deich
- Caltech 105-24, Pasadena, CA 91125
- Internet: will@astro.caltech.edu
-
- ---------------------------------> cut here <---------------------------------
- *** super.c.old Mon May 9 13:44:39 1994
- --- super.c Wed May 11 11:49:04 1994
- ***************
- *** 1212,1218 ****
- } else if (grouppat && *(grouppat+1)) { /* pat is "uuu:ggg or ":ggg" */
- if (token == grouppat)
- userpat = "^.*$"; /* pat is ":ggg" */
- ! grouppat++;
-
- } else { /* pat is "uuu" or "uuu:" */
- if (grouppat)
- --- 1212,1218 ----
- } else if (grouppat && *(grouppat+1)) { /* pat is "uuu:ggg or ":ggg" */
- if (token == grouppat)
- userpat = "^.*$"; /* pat is ":ggg" */
- ! *grouppat++ = '\0';
-
- } else { /* pat is "uuu" or "uuu:" */
- if (grouppat)
- *** version.h.old Mon May 9 13:44:44 1994
- --- version.h Wed May 11 11:51:46 1994
- ***************
- *** 1,2 ****
- #define Version "3.4"
- ! #define Patchlevel "6"
- --- 1,2 ----
- #define Version "3.4"
- ! #define Patchlevel "7"
-
- exit 0 # Just in case...
-