crank version and regen files

This commit is contained in:
Todd C. Miller
1999-01-17 22:40:55 +00:00
parent c2621fd7e8
commit d3aaf52283
44 changed files with 90 additions and 83 deletions

2
BUGS
View File

@@ -1,4 +1,4 @@
Known bugs in sudo version 1.5.7
Known bugs in sudo version 1.5.8
================================
1) "make install-man" should substitute correct paths into the

View File

@@ -1,4 +1,4 @@
Installation instructions for CU sudo 1.5.7
Installation instructions for CU sudo 1.5.8
===========================================
Sudo uses a `configure' script to probe the capabilities and type
@@ -63,11 +63,11 @@ significantly as compared to previous versions. All options are
now set via the configure script. See below for a list of all the
configure options and their meanings.
By default, sudo 1.5.7 expects the sudoers file to be mode 0440 and
By default, sudo 1.5.8 expects the sudoers file to be mode 0440 and
to be owned by user and group 0. This differs from version 1.4 and
below which expected the sudoers file to be mode 0400 and to be
owned by root. Doing a `make install' will set the sudoers file
to the new mode and group. If sudo 1.5.7 encounters a sudoers file
to the new mode and group. If sudo 1.5.8 encounters a sudoers file
with the old permissions it will attempt to update it to the new
scheme. You cannot, however, use a sudoers file with the new
permissions with an old sudo binary. It is suggested that if have

View File

@@ -1,5 +1,5 @@
#*
#* CU sudo version 1.5.7 (based on Root Group sudo version 1.1)
#* CU sudo version 1.5.8 (based on Root Group sudo version 1.1)
#*
#* This software comes with no waranty whatsoever, use at your own risk.
#*
@@ -116,7 +116,7 @@ LIBOBJS = @LIBOBJS@ @ALLOCA@
HDRS = sudo.h compat.h version.h insults.h \
ins_2001.h ins_classic.h ins_goons.h ins_csops.h sudo.tab.h
VERSION = 1.5.7
VERSION = 1.5.8
DISTFILES = $(SRCS) $(HDRS) BUGS CHANGES COPYING HISTORY INSTALL \
INSTALL.configure TODO PORTING README RUNSON \

2
README
View File

@@ -1,4 +1,4 @@
This is the CU version of sudo, release 1.5.7
This is the CU version of sudo, release 1.5.8
The sudo philosophy
===================

View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7 (based on Root Group sudo version 1.1)
* CU sudo version 1.5.8 (based on Root Group sudo version 1.1)
*
* This software comes with no waranty whatsoever, use at your own risk.
*

View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7
* CU sudo version 1.5.8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7
* CU sudo version 1.5.8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7
* CU sudo version 1.5.8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

2
configure vendored
View File

@@ -643,7 +643,7 @@ fi
echo "Configuring CU Sudo version 1.5.7"
echo "Configuring CU Sudo version 1.5.8"
PROGS="sudo visudo"
SUDO_LDFLAGS=""
VISUDO_LDFLAGS=""

View File

@@ -7,7 +7,7 @@ AC_CONFIG_HEADER(config.h pathnames.h)
dnl
dnl This won't work before AC_INIT()
dnl
echo "Configuring CU Sudo version 1.5.7"
echo "Configuring CU Sudo version 1.5.8"
dnl
dnl Variables that get substituted in the Makefile
dnl

View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7
* CU sudo version 1.5.8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7
* CU sudo version 1.5.8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7
* CU sudo version 1.5.8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7
* CU sudo version 1.5.8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7
* CU sudo version 1.5.8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7
* CU sudo version 1.5.8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7
* CU sudo version 1.5.8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7
* CU sudo version 1.5.8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7
* CU sudo version 1.5.8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7
* CU sudo version 1.5.8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7
* CU sudo version 1.5.8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@@ -514,7 +514,7 @@ char *yytext;
#define INITIAL 0
#line 2 "parse.lex"
/*
* CU sudo version 1.5.7
* CU sudo version 1.5.8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7 (based on Root Group sudo version 1.1)
* CU sudo version 1.5.8 (based on Root Group sudo version 1.1)
*
* This software comes with no waranty whatsoever, use at your own risk.
*

View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7
* CU sudo version 1.5.8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@@ -1,6 +1,6 @@
%{
/*
* CU sudo version 1.5.7
* CU sudo version 1.5.8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@@ -1,7 +1,7 @@
%{
/*
* CU sudo version 1.5.7
* CU sudo version 1.5.8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7
* CU sudo version 1.5.8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7
* CU sudo version 1.5.8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7
* CU sudo version 1.5.8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7 (based on Root Group sudo version 1.1)
* CU sudo version 1.5.8 (based on Root Group sudo version 1.1)
*
* This software comes with no waranty whatsoever, use at your own risk.
*

2
sudo.c
View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7 (based on Root Group sudo version 1.1)
* CU sudo version 1.5.8 (based on Root Group sudo version 1.1)
*
* This software comes with no waranty whatsoever, use at your own risk.
*

View File

@@ -8,8 +8,8 @@ NNNNAAAAMMMMEEEE
sudo - execute a command as the superuser
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
ssssuuuuddddoooo ----VVVV | ----hhhh | ----llll | ----vvvv | ----kkkk | ----ssss | ----HHHH | [ ----bbbb ] | [ ----pppp
prompt ] [ ----uuuu username/#uid] _c_o_m_m_a_n_d
ssssuuuuddddoooo ----VVVV | ----hhhh | ----llll | ----vvvv | ----kkkk | ----ssss | ----HHHH | [ ----bbbb ] | [ ----rrrr
realm ] | [ ----pppp prompt ] [ ----uuuu username/#uid] _c_o_m_m_a_n_d
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
ssssuuuuddddoooo allows a permitted user to execute a _c_o_m_m_a_n_d as the
@@ -61,7 +61,7 @@ OOOOPPPPTTTTIIIIOOOONNNNSSSS
5/Nov/98 1.5.7 1
17/Jan/99 1.5.8 1
@@ -73,6 +73,12 @@ sudo(8) MAINTENANCE COMMANDS sudo(8)
-b option you cannot use shell job control to
manipulate the command.
-r The -r (_r_e_a_l_m) option is only available if ssssuuuuddddoooo was
configured with KKKKeeeerrrrbbbbeeeerrrroooossss version 5 support. It allows
the user to specify a KKKKeeeerrrrbbbbeeeerrrroooossss realm other than the
system default to use when authenticating the user via
KKKKeeeerrrrbbbbeeeerrrroooossss.
-p The -p (_p_r_o_m_p_t) option allows you to override the
default password prompt and use a custom one. If the
password prompt contains the %u escape, %u will be
@@ -119,15 +125,9 @@ SSSSEEEECCCCUUUURRRRIIIITTTTYYYY NNNNOOOOTTTTE
ssssuuuuddddoooo will also remove the IFS, ENV, BASH_ENV and KRB_CONF
variables as they too can pose a threat.
To prevent command spoofing, ssssuuuuddddoooo checks "." and "" (both
denoting current directory) last when searching for a
command in the user's PATH (if one or both are in the
PATH). Note, however, that the actual PATH environment
variable is _n_o_t modified and is passed unchanged to the
5/Nov/98 1.5.7 2
17/Jan/99 1.5.8 2
@@ -136,6 +136,11 @@ SSSSEEEECCCCUUUURRRRIIIITTTTYYYY NNNNOOOOTTTTE
sudo(8) MAINTENANCE COMMANDS sudo(8)
To prevent command spoofing, ssssuuuuddddoooo checks "." and "" (both
denoting current directory) last when searching for a
command in the user's PATH (if one or both are in the
PATH). Note, however, that the actual PATH environment
variable is _n_o_t modified and is passed unchanged to the
program that ssssuuuuddddoooo executes.
For security reasons, if your OS supports shared
@@ -186,14 +191,9 @@ EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT V
SUDO_PS1 If set, PS1 will be set to its value
AAAAUUUUTTTTHHHHOOOORRRRSSSS
Many people have worked on ssssuuuuddddoooo over the years, this
version consists of code written primarily by:
5/Nov/98 1.5.7 3
17/Jan/99 1.5.8 3
@@ -202,6 +202,10 @@ AAAAUUUUTTTTHHHHOOOORRRRSSSS
sudo(8) MAINTENANCE COMMANDS sudo(8)
AAAAUUUUTTTTHHHHOOOORRRRSSSS
Many people have worked on ssssuuuuddddoooo over the years, this
version consists of code written primarily by:
Jeff Nieusma
David Hieb
Todd Miller
@@ -255,11 +259,7 @@ SSSSEEEEEEEE AAAALLLLSSSSOOOO
5/Nov/98 1.5.7 4
17/Jan/99 1.5.8 4
@@ -325,6 +325,6 @@ sudo(8) MAINTENANCE COMMANDS sudo(8)
5/Nov/98 1.5.7 5
17/Jan/99 1.5.8 5

2
sudo.h
View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7 (based on Root Group sudo version 1.1)
* CU sudo version 1.5.8 (based on Root Group sudo version 1.1)
*
* This software comes with no waranty whatsoever, use at your own risk.
*

View File

@@ -2,8 +2,8 @@
''' $RCSfile$$Revision$$Date$
'''
''' $Log$
''' Revision 1.26 1999/01/17 21:31:37 millert
''' regen based on sudo.pod, sudoers.pod, and visudo.pod
''' Revision 1.27 1999/01/17 22:40:53 millert
''' crank version and regen files
'''
'''
.de Sh
@@ -96,7 +96,7 @@
.nr % 0
.rr F
.\}
.TH sudo 8 "1.5.7" "5/Nov/98" "MAINTENANCE COMMANDS"
.TH sudo 8 "1.5.8" "17/Jan/99" "MAINTENANCE COMMANDS"
.UC
.if n .hy 0
.if n .na
@@ -194,7 +194,7 @@
sudo \- execute a command as the superuser
.SH "SYNOPSIS"
\fBsudo\fR \fB\-V\fR | \fB\-h\fR | \fB\-l\fR | \fB\-v\fR | \fB\-k\fR | \fB\-s\fR | \fB\-H\fR |
[ \fB\-b\fR ] | [ \fB\-p\fR prompt ] [ \fB\-u\fR username/#uid] \fIcommand\fR
[ \fB\-b\fR ] | [ \fB\-r\fR realm ] | [ \fB\-p\fR prompt ] [ \fB\-u\fR username/#uid] \fIcommand\fR
.SH "DESCRIPTION"
\fBsudo\fR allows a permitted user to execute a \fIcommand\fR
as the superuser (real and effective uid and gid are set
@@ -238,6 +238,11 @@ allow a user to revoke \fBsudo\fR permissions from a .logout file.
The \f(CW-b\fR (\fIbackground\fR) option tells \fBsudo\fR to run the given
command in the background. Note that if you use the \f(CW-b\fR
option you cannot use shell job control to manipulate the command.
.Ip "-r" 4
The \f(CW-r\fR (\fIrealm\fR) option is only available if \fBsudo\fR was configured
with \fBKerberos\fR version 5 support. It allows the user to specify a
\fBKerberos\fR realm other than the system default to use when authenticating
the user via \fBKerberos\fR.
.Ip "-p" 4
The \f(CW-p\fR (\fIprompt\fR) option allows you to override the default
password prompt and use a custom one. If the password prompt
@@ -397,6 +402,8 @@ that make setuid shell scripts unsafe on some operating systems.
.IX Item "-b"
.IX Item "-r"
.IX Item "-p"
.IX Item "-u"

View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7
* CU sudo version 1.5.8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@@ -61,7 +61,7 @@ DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
17/Oct/98 1.5.7 1
6/Feb/98 1.5.8 1
@@ -127,7 +127,7 @@ sudoers(5) FILE FORMATS sudoers(5)
17/Oct/98 1.5.7 2
6/Feb/98 1.5.8 2
@@ -193,7 +193,7 @@ EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
17/Oct/98 1.5.7 3
6/Feb/98 1.5.8 3
@@ -259,7 +259,7 @@ sudoers(5) FILE FORMATS sudoers(5)
17/Oct/98 1.5.7 4
6/Feb/98 1.5.8 4
@@ -325,7 +325,7 @@ FFFFIIIILLLLEEEESSSS
17/Oct/98 1.5.7 5
6/Feb/98 1.5.8 5
@@ -391,6 +391,6 @@ SSSSEEEEEEEE AAAALLLLSSSSOOOO
17/Oct/98 1.5.7 6
6/Feb/98 1.5.8 6

View File

@@ -2,8 +2,8 @@
''' $RCSfile$$Revision$$Date$
'''
''' $Log$
''' Revision 1.4 1999/01/17 21:31:37 millert
''' regen based on sudo.pod, sudoers.pod, and visudo.pod
''' Revision 1.5 1999/01/17 22:40:53 millert
''' crank version and regen files
'''
'''
.de Sh
@@ -96,7 +96,7 @@
.nr % 0
.rr F
.\}
.TH sudoers 5 "1.5.7" "17/Oct/98" "FILE FORMATS"
.TH sudoers 5 "1.5.8" "6/Feb/98" "FILE FORMATS"
.UC
.if n .hy 0
.if n .na

View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7
* CU sudo version 1.5.8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7
* CU sudo version 1.5.8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7
* CU sudo version 1.5.8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7
* CU sudo version 1.5.8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -23,6 +23,6 @@
#ifndef _SUDO_VERSION_H
#define _SUDO_VERSION_H
static const char version[] = "1.5.7";
static const char version[] = "1.5.8";
#endif /* _SUDO_VERSION_H */

View File

@@ -1,5 +1,5 @@
/*
* CU sudo version 1.5.7
* CU sudo version 1.5.8
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View File

@@ -61,7 +61,7 @@ FFFFIIIILLLLEEEESSSS
17/Oct/98 1.5.7 1
17/Oct/98 1.5.8 1
@@ -127,7 +127,7 @@ SSSSEEEEEEEE AAAALLLLSSSSOOOO
17/Oct/98 1.5.7 2
17/Oct/98 1.5.8 2
@@ -193,6 +193,6 @@ visudo(8) MAINTENANCE COMMANDS visudo(8)
17/Oct/98 1.5.7 3
17/Oct/98 1.5.8 3

View File

@@ -2,8 +2,8 @@
''' $RCSfile$$Revision$$Date$
'''
''' $Log$
''' Revision 1.3 1999/01/17 21:31:37 millert
''' regen based on sudo.pod, sudoers.pod, and visudo.pod
''' Revision 1.4 1999/01/17 22:40:55 millert
''' crank version and regen files
'''
'''
.de Sh
@@ -96,7 +96,7 @@
.nr % 0
.rr F
.\}
.TH visudo 8 "1.5.7" "17/Oct/98" "MAINTENANCE COMMANDS"
.TH visudo 8 "1.5.8" "17/Oct/98" "MAINTENANCE COMMANDS"
.UC
.if n .hy 0
.if n .na