summaryrefslogtreecommitdiff
path: root/usr.bin/sudo
AgeCommit message (Collapse)Author
2003-01-07Better fix for sudoers files w/o a newline before EOF. It looksTodd C. Miller
like the issue is that yyrestart() does not reset the start condition to INITIAL which is an issue since we parse sudoers multiple times. This is a cleaner fix for that problem and what will go in sudo 1.6.7.
2003-01-06Work around what appears to be a flex bug when dealing with filesTodd C. Miller
that lack a final newline before EOF. This adds a rule to match EOF in the non-initial states which resets the state to INITIAL and throws an error.
2002-07-20Error out if setusercontext() fails and the runas user is not root.Todd C. Miller
Pointed out by deraadt@
2002-07-16add RCS Id; ok millert@Christian Weisgerber
2002-06-12a real pid_t cleanup.Mike Pechkin
espie@ ok for make/, deraadt@ one extra eye, millert@ ok
2002-04-26Strip sudo and visudo on install. Noticed by Camiel Dobbelaar.Todd C. Miller
2002-04-25Update to sudo 1.6.6Todd C. Miller
2002-01-23update to sudo 1.6.5p2Todd C. Miller
2002-01-17update to sudo 1.6.5p1, sighTodd C. Miller
2002-01-17missed oneTodd C. Miller
2002-01-17update to sudo 1.6.5Todd C. Miller
2002-01-16update to sudo 1.6.4p2Todd C. Miller
2002-01-15update to sudo 1.6.4p1Todd C. Miller
2002-01-14sync with sudo 1.6.4-finalTodd C. Miller
2002-01-08sync with sudo 1.6.4rc2Todd C. Miller
2002-01-03clean def_data.c and def_data.h tooTodd C. Miller
2002-01-03Update to sudo 1.6.4Todd C. Miller
2001-11-02Change 2 Exit() -> exit()Todd C. Miller
Avoid stdio in Exit() and call _exit() if we are a signal handler. We no longer print the signal number but the user can just check the exit value for that.
2001-09-28semicolon -> colonJan-Uwe Finck
detected by mihaak@lecturax.tmfweb.nl
2001-09-25let configure script use GNUSYSTEM_AUX_DIRMarc Espie
2001-09-19occured->occurredMike Pechkin
idea from deraadt@ via NetBSD millert@ ok p.s. Next commit will fix a typo in the sys/
2001-09-17Typo and grammar fixes, one from PR/2058 (Dennis Schwarz); ok millert@Paul Janzen
2001-08-23If we fail to lookup a login class, apply the default one.Todd C. Miller
2001-08-23Remove an errant ';' that caused a duplicate free(). Fix from my sudoTodd C. Miller
devel tree after prompting from Angelos who noticed this.
2001-08-16Flesh it out.Marc Espie
Common additions to sudoers, commented out. To avoid gobbling aspirin while reading sudoers(5) ok millert@
2001-05-29build with BSD auth supportTodd C. Miller
2001-03-30Use stashed user_gid when checking against exempt gid since sudoTodd C. Miller
sets its gid to SUDOERS_GID, making getgid() return that, not the real gid. FIxes problem with setting exempt group == SUDOERS_GID. Fix from Paul Kranenburg.
2001-03-02Update to sudo 1.6.3p7Todd C. Miller
Fixes negation of path-type Defaults entries in a boolean context.
2001-02-19Update to sudo-1.6.3p6Todd C. Miller
2001-02-04please the alphaTheo de Raadt
2001-01-19mark remaining signal races which are difficult to fix, and fix a few partiallyTheo de Raadt
2001-01-09Typos: 'eg.' -> 'e.g.'Kenneth R Westerback
2000-12-15If there was a syntax error and the user just wants to exit, unlinkTodd C. Miller
sudoers if it is zero length since visudo probably just created it. From the sudo cvs repo.
2000-12-15Give sensible error messaage for a zero-length sudoers file.Todd C. Miller
From the sudo cvs repo.
2000-12-15'Q' means ignore parse error, not 'q'Todd C. Miller
2000-12-15When opening /etc/sudoers for writing, use SUDOERS_MODE for the mode.Todd C. Miller
Otherwise if the user creates a new sudoers file, makes a syntax error, and quits, sudoers will have a random file mode. However, since it is also zero-length, there is no information exposed. Closes PR 1559.
2000-11-21A few updates from the sudo developement tree:Todd C. Miller
- Add bsd authentication support (currently disabled) - Always check setenv() return value - Fix umask disabling
2000-09-03Boring... Add :L modifier to all tweakable variables tests.Marc Espie
Closes PR 1246
2000-08-20Add calls to setusercontext() and login_get*(). We basically callTodd C. Miller
setusercontext() in most places where previously we did a setlogin(). Add default login.conf file and put root in the "daemon" login class.
2000-08-13update to sudo 1.6.3p5Todd C. Miller
2000-06-09When looking for chown, check in /sbin too.Todd C. Miller
2000-06-05Update to sudo 1.6.3p4Todd C. Miller
2000-04-28Make the -H option work again.Todd C. Miller
2000-04-10Remove extra backslash, noted by marc@snafu.orgTodd C. Miller
2000-04-05Keep configure from complaining about missing *.man.inTodd C. Miller
2000-03-27sudo 1.6.3; see http://www.courtesan.com/sudo/current.html for a listTodd C. Miller
of changes.
2000-02-27Fixed a bug that caused an infinite loop when the passwordTodd C. Miller
timeout was disabled.
2000-02-02eight spaces does not make a tabDavid Leonard
2000-01-31remove unnecessary, ignored error. ok millert@David Leonard
2000-01-281.6.2p1Todd C. Miller