home *** CD-ROM | disk | FTP | other *** search
- From: will@astro.caltech.edu (William Deich)
- Newsgroups: comp.sources.misc
- Subject: v42i093: super - allow certain users to use certain commands as root, v3.4.5, Patch01
- Date: 9 May 1994 20:45:35 -0500
- Organization: Sterling Software
- Sender: root@sparky.sterling.com
- Approved: kent@sparky.sterling.com
- Message-ID: <2qmovv$cl5@sparky.sterling.com>
- X-Md4-Signature: 5b15a95262c11e995c78e4eb35e39f19
-
- Submitted-by: will@astro.caltech.edu (William Deich)
- Posting-number: Volume 42, Issue 93
- Archive-name: super/patch01
- Environment: UNIX
- Patch-To: super: Volume 42, Issue 90-92
-
- Attached is patch01 to Super-3.4.5.
-
- The problem fixed was:
-
- If you:
- - compile super without -DUSE_NETGROUP, and
- - use a hostname in a super.tab entry
- then:
- super will improperly complain that you've got a wrong-format hostname.
-
- (The complete source for the patched super is available for anonymous ftp
- from: phobos.caltech.edu:users/will/super-3.4.6.shar )
-
- -------------------
- 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 Mon May 9 13:44:55 1994
- --- super.c.new Mon May 9 13:44:39 1994
- ***************
- *** 1178,1185 ****
- return -1; /* hostname is not in this netgroup */
- }
- #else
- ! return taglines(Error(0, 0,
- ! "hostnames may not begin with `+' since this super()\n\
- was compiled without -DUSE_NETGROUP.\n"));
- #endif
-
- --- 1178,1186 ----
- return -1; /* hostname is not in this netgroup */
- }
- #else
- ! if (hostpat && *hostpat == '+') /* Disallow +name */
- ! return taglines(Error(0, 0,
- ! "hostnames may not begin with `+' since this super()\n\
- was compiled without -DUSE_NETGROUP.\n"));
- #endif
-
- *** version.h Mon May 9 13:45:00 1994
- --- version.h.new Mon May 9 13:44:44 1994
- ***************
- *** 1,2 ****
- #define Version "3.4"
- ! #define Patchlevel "5"
- --- 1,2 ----
- #define Version "3.4"
- ! #define Patchlevel "6"
-
- exit 0 # Just in case...
-