updated version number and took out jeff's email (since it is invalid)
This commit is contained in:
19
check.c
19
check.c
@@ -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>
|
||||||
|
19
find_path.c
19
find_path.c
@@ -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>
|
||||||
|
19
logging.c
19
logging.c
@@ -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
19
parse.c
@@ -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>
|
||||||
|
19
parse.lex
19
parse.lex
@@ -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"
|
||||||
|
19
parse.yacc
19
parse.yacc
@@ -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
24
sudo.c
@@ -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
15
sudo.h
@@ -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
|
||||||
|
Reference in New Issue
Block a user