summaryrefslogtreecommitdiff
path: root/check.c
Commit message (Expand)AuthorAgeFilesLines
* Remove CVS $Sudo$ tags.Todd C. Miller2010-03-031-4/+0
* Update copyright years.Todd C. Miller2009-05-251-1/+1
* Allow the -k flag to be specified in conjunction with a command orTodd C. Miller2009-02-241-8/+12
* Even if neither stdin nor stdout are ttys we may still have /dev/ttyTodd C. Miller2008-11-251-2/+2
* Move tty checks into check_user() so we only do them if we actuallyTodd C. Miller2008-11-111-0/+17
* Add -n (non-interactive) flag.Todd C. Miller2008-03-181-1/+6
* Add support for running a helper program to read the password whenTodd C. Miller2008-03-021-2/+4
* user_runas -> runas_pwTodd C. Miller2008-01-061-2/+2
* Add and document the %p escape in the password prompt.Todd C. Miller2008-01-051-0/+22
* Add support for runas groups. This allows the user to run a commandTodd C. Miller2007-11-211-4/+4
* Do not update timestamp if user not validated by sudoers.Todd C. Miller2007-07-061-4/+5
* don't check timestamp mtime if we are just going to remove itTodd C. Miller2007-07-061-9/+15
* Fix fd leak when lecture file option is enabled. From Jerry BrownTodd C. Miller2005-11-111-0/+1
* Move declatation of struct timespec to its own include files forTodd C. Miller2005-06-231-0/+3
* Add explicit cast from mode_t -> u_int in printf to silence warnings on SolarisTodd C. Miller2005-04-241-6/+6
* Add efree() for consistency with emalloc() et al. Allows us to relyTodd C. Miller2005-03-291-6/+4
* Fix some printf format mismatches on error.Todd C. Miller2005-02-121-4/+4
* Update copyright years.Todd C. Miller2005-02-121-1/+1
* Add __unused to rcsidsTodd C. Miller2005-01-271-1/+1
* Use: #include <config.h>Todd C. Miller2004-11-191-1/+1
* Implement group caching and use the passwd and group caches throughout.Todd C. Miller2004-11-161-1/+1
* Add local error/warning functions like err/warn but that call an additionalTodd C. Miller2004-11-151-7/+2
* Use timespec throughout.Todd C. Miller2004-09-081-10/+10
* Add an extra param to touch() for nsecTodd C. Miller2004-09-071-2/+2
* Use utimes() and futimes() instead of utime() in touch(), emulating as needed.Todd C. Miller2004-09-071-2/+3
* Don't ask for a password if invoking user == target user.Todd C. Miller2004-06-101-1/+1
* Remove trailing spaces, no actual code changes.Todd C. Miller2004-06-061-2/+2
* Use PATH_MAX, not MAXPATHLEN since the former is standardized.Todd C. Miller2004-06-011-3/+3
* Preliminary changes to support nsr-tandem-nsk. Based on patches fromTodd C. Miller2004-05-171-1/+3
* More to a less restrictive, ISC-style license.Todd C. Miller2004-02-131-28/+10
* Add Stan Lee / Uncle Ben quote to the lecture from RedHatTodd C. Miller2004-01-161-2/+3
* Update copyright yearTodd C. Miller2004-01-051-1/+1
* Add a new option, lecture_file, that can be used to point to a customTodd C. Miller2004-01-051-1/+9
* Add support for tuples in def_data.in; these are implemented as anTodd C. Miller2003-12-301-12/+15
* Create def_* macros for each defaults value so we no longer needTodd C. Miller2003-12-301-13/+13
* add DARPA credit on affected filesTodd C. Miller2003-04-161-0/+4
* Use warn/err and getprogname() throughout. The main exception isTodd C. Miller2003-04-021-8/+9
* oflow detection in expand_prompt() was faulty (false positives).Todd C. Miller2003-04-011-7/+10
* update copyright yearTodd C. Miller2003-03-151-1/+1
* Cast [ug]ids to unsigned long and printf with %luTodd C. Miller2003-03-151-6/+9
* Use strlc{at,py} for paranoia's sake and exit on overflow. In allTodd C. Miller2003-03-131-11/+25
* Add %U and %H escapes and redo prompt rewriting. "%%" now gets collapsedTodd C. Miller2002-12-141-33/+63
* Don't call set_perms() when doing timestamp stuff unless timestamp_uid != 0.Todd C. Miller2002-05-051-5/+10
* g/c second arg to set_perms--it is no longer usedTodd C. Miller2002-05-051-5/+5
* Add support for non-root timestamp dirs. This allows the timestampTodd C. Miller2002-05-031-10/+17
* The the loop used to expand %h and %u, the lastchar variable was not beingTodd C. Miller2002-04-251-2/+2
* o Reorder some headers and use STDC_HEADERS define properlyTodd C. Miller2001-12-141-13/+19
* fix I_TS_TIMEOUT vs. I_TIMESTAMP_TIMEOUT pasto in previous commitTodd C. Miller2001-11-021-1/+1
* Add new T_UINT type that most things use instead of T_INTTodd C. Miller2001-11-021-18/+23
* Use stashed user_gid when checking against exempt gid since sudoTodd C. Miller2001-03-301-1/+1