updated version number and took out jeff's email (since it is invalid)

This commit is contained in:
Todd C. Miller
1993-11-27 23:42:49 +00:00
parent b736fa27f8
commit 594284b224
8 changed files with 107 additions and 46 deletions

19
check.c
View File

@@ -1,3 +1,12 @@
/*
* CU sudo version 1.3 (based on Root Group sudo version 1.1)
*
* This software comes with no waranty whatsoever, use at your own risk.
*
* Please send bugs, changes, problems to sudo-bugs.cs.colorado.edu
*
*/
/* /*
* sudo version 1.1 allows users to execute commands as root * sudo version 1.1 allows users to execute commands as root
* Copyright (C) 1991 The Root Group, Inc. * Copyright (C) 1991 The Root Group, Inc.
@@ -16,12 +25,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* If you make modifications to the source, we would be happy to have
* them to include in future releases. Feel free to send them to:
* Jeff Nieusma nieusma@rootgroup.com
* 3959 Arbol CT (303) 447-8093
* Boulder, CO 80301-1752
*
******************************************************************* *******************************************************************
* *
* check.c * check.c
@@ -32,6 +35,10 @@
* Jeff Nieusma Thu Mar 21 22:39:07 MST 1991 * Jeff Nieusma Thu Mar 21 22:39:07 MST 1991
*/ */
#ifndef lint
static char rcsid[] = "$Id$";
#endif /* lint */
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <strings.h> #include <strings.h>

View File

@@ -1,3 +1,12 @@
/*
* CU sudo version 1.3 (based on Root Group sudo version 1.1)
*
* This software comes with no waranty whatsoever, use at your own risk.
*
* Please send bugs, changes, problems to sudo-bugs.cs.colorado.edu
*
*/
/* /*
* sudo version 1.1 allows users to execute commands as root * sudo version 1.1 allows users to execute commands as root
* Copyright (C) 1991 The Root Group, Inc. * Copyright (C) 1991 The Root Group, Inc.
@@ -16,12 +25,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* If you make modifications to the source, we would be happy to have
* them to include in future releases. Feel free to send them to:
* Jeff Nieusma nieusma@rootgroup.com
* 3959 Arbol CT (303) 447-8093
* Boulder, CO 80301-1752
*
******************************************************************* *******************************************************************
* *
* This module contains the find_path() command that returns * This module contains the find_path() command that returns
@@ -41,6 +44,10 @@
* Todd C. Miller (millert@colorado.edu) Sat Sep 4 12:22:04 MDT 1993 * Todd C. Miller (millert@colorado.edu) Sat Sep 4 12:22:04 MDT 1993
*/ */
#ifndef lint
static char rcsid[] = "$Id$";
#endif /* lint */
#include <stdio.h> #include <stdio.h>
#include <strings.h> #include <strings.h>
#include <errno.h> #include <errno.h>

View File

@@ -1,3 +1,12 @@
/*
* CU sudo version 1.3 (based on Root Group sudo version 1.1)
*
* This software comes with no waranty whatsoever, use at your own risk.
*
* Please send bugs, changes, problems to sudo-bugs.cs.colorado.edu
*
*/
/* /*
* sudo version 1.1 allows users to execute commands as root * sudo version 1.1 allows users to execute commands as root
* Copyright (C) 1991 The Root Group, Inc. * Copyright (C) 1991 The Root Group, Inc.
@@ -16,12 +25,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* If you make modifications to the source, we would be happy to have
* them to include in future releases. Feel free to send them to:
* Jeff Nieusma nieusma@rootgroup.com
* 3959 Arbol CT (303) 447-8093
* Boulder, CO 80301-1752
*
**************************************************************** ****************************************************************
* *
* logging.c * logging.c
@@ -33,6 +36,10 @@
* Jeff Nieusma Thu Mar 21 23:39:04 MST 1991 * Jeff Nieusma Thu Mar 21 23:39:04 MST 1991
*/ */
#ifndef lint
static char rcsid[] = "$Id$";
#endif /* lint */
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <signal.h> #include <signal.h>

19
parse.c
View File

@@ -1,3 +1,12 @@
/*
* CU sudo version 1.3 (based on Root Group sudo version 1.1)
*
* This software comes with no waranty whatsoever, use at your own risk.
*
* Please send bugs, changes, problems to sudo-bugs.cs.colorado.edu
*
*/
/* /*
* sudo version 1.1 allows users to execute commands as root * sudo version 1.1 allows users to execute commands as root
* Copyright (C) 1991 The Root Group, Inc. * Copyright (C) 1991 The Root Group, Inc.
@@ -16,12 +25,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* If you make modifications to the source, we would be happy to have
* them to include in future releases. Feel free to send them to:
* Jeff Nieusma nieusma@rootgroup.com
* 3959 Arbol CT (303) 447-8093
* Boulder, CO 80301-1752
*
************************************************************************** **************************************************************************
* *
* parse.c, sudo project * parse.c, sudo project
@@ -31,6 +34,10 @@
* routines to implement and maintain the parsing and list management. * routines to implement and maintain the parsing and list management.
*/ */
#ifndef lint
static char rcsid[] = "$Id$";
#endif /* lint */
#include <stdio.h> #include <stdio.h>
#include <strings.h> #include <strings.h>
#include <ctype.h> #include <ctype.h>

View File

@@ -1,4 +1,13 @@
%{ %{
/*
* CU sudo version 1.3 (based on Root Group sudo version 1.1)
*
* This software comes with no waranty whatsoever, use at your own risk.
*
* Please send bugs, changes, problems to sudo-bugs.cs.colorado.edu
*
*/
/* /*
* sudo version 1.1 allows users to execute commands as root * sudo version 1.1 allows users to execute commands as root
* Copyright (C) 1991 The Root Group, Inc. * Copyright (C) 1991 The Root Group, Inc.
@@ -17,11 +26,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* If you make modifications to the source, we would be happy to have
* them to include in future releases. Feel free to send them to:
* Jeff Nieusma nieusma@rootgroup.com
* 3959 Arbol CT (303) 447-8093
* Boulder, CO 80301-1752
*/ */
/******************************************************************************* /*******************************************************************************
* parse.lex, sudo project * parse.lex, sudo project
@@ -30,6 +34,11 @@
* *
* Lex Specification file for the sudo project. * Lex Specification file for the sudo project.
*******************************************************************************/ *******************************************************************************/
#ifndef lint
static char rcsid[] = "$Id$";
#endif /* lint */
#include <sys/types.h> #include <sys/types.h>
#include <sys/param.h> #include <sys/param.h>
#include "sudo.h" #include "sudo.h"

View File

@@ -1,4 +1,13 @@
%{ %{
/*
* CU sudo version 1.3 (based on Root Group sudo version 1.1)
*
* This software comes with no waranty whatsoever, use at your own risk.
*
* Please send bugs, changes, problems to sudo-bugs.cs.colorado.edu
*
*/
/* /*
* sudo version 1.1 allows users to execute commands as root * sudo version 1.1 allows users to execute commands as root
* Copyright (C) 1991 The Root Group, Inc. * Copyright (C) 1991 The Root Group, Inc.
@@ -17,11 +26,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* If you make modifications to the source, we would be happy to have
* them to include in future releases. Feel free to send them to:
* Jeff Nieusma nieusma@rootgroup.com
* 3959 Arbol CT (303) 447-8093
* Boulder, CO 80301-1752
*/ */
/******************************************************************************* /*******************************************************************************
* parse.yacc, sudo project * parse.yacc, sudo project
@@ -30,6 +34,11 @@
* *
* Yacc Specification file for the sudo project. * Yacc Specification file for the sudo project.
*******************************************************************************/ *******************************************************************************/
#ifndef lint
static char rcsid[] = "$Id$";
#endif /* lint */
#include <stdio.h> #include <stdio.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/param.h> #include <sys/param.h>

24
sudo.c
View File

@@ -1,3 +1,12 @@
/*
* CU sudo version 1.3 (based on Root Group sudo version 1.1)
*
* This software comes with no waranty whatsoever, use at your own risk.
*
* Please send bugs, changes, problems to sudo-bugs.cs.colorado.edu
*
*/
/* /*
* sudo version 1.1 allows users to execute commands as root * sudo version 1.1 allows users to execute commands as root
* Copyright (C) 1991 The Root Group, Inc. * Copyright (C) 1991 The Root Group, Inc.
@@ -16,12 +25,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* If you make modifications to the source, we would be happy to have
* them to include in future releases. Feel free to send them to:
* Jeff Nieusma nieusma@rootgroup.com
* 3959 Arbol CT (303) 447-8093
* Boulder, CO 80301-1752
*
************************************************************************** **************************************************************************
* *
* sudo.c * sudo.c
@@ -40,8 +43,17 @@
* *
* Jeff Nieusma <nieusma@rootgroup.com> * Jeff Nieusma <nieusma@rootgroup.com>
* Dave Hieb <davehieb@rootgroup.com> * Dave Hieb <davehieb@rootgroup.com>
*
* However, due to the fact that both of the above are no longer
* working at Root Group, I am maintaining the "CU version" of
* sudo.
* Todd Miller <millert@cs.colorado.edu>
*/ */
#ifndef lint
static char rcsid[] = "$Id$";
#endif /* lint */
#define MAIN #define MAIN
#include <stdio.h> #include <stdio.h>

15
sudo.h
View File

@@ -1,3 +1,12 @@
/*
* CU sudo version 1.3 (based on Root Group sudo version 1.1)
*
* This software comes with no waranty whatsoever, use at your own risk.
*
* Please send bugs, changes, problems to sudo-bugs.cs.colorado.edu
*
*/
/* /*
* sudo version 1.1 allows users to execute commands as root * sudo version 1.1 allows users to execute commands as root
* Copyright (C) 1991 The Root Group, Inc. * Copyright (C) 1991 The Root Group, Inc.
@@ -15,12 +24,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* If you make modifications to the source, we would be happy to have
* them to include in future releases. Feel free to send them to:
* Jeff Nieusma nieusma@rootgroup.com
* 3959 Arbol CT (303) 447-8093
* Boulder, CO 80301-1752
*/ */
/* The following macros can be defined when compiling /* The following macros can be defined when compiling