summaryrefslogtreecommitdiff
path: root/sudo.c
Commit message (Expand)AuthorAgeFilesLines
* The SHELL environment variable was preserved from the user'sTodd C. Miller2002-01-151-1/+2
* Add a configure option to turn off use of POSIX saved IDsTodd C. Miller2002-01-151-2/+2
* Only OR in MODE_RESET_HOME if MODE_RUN is set.Todd C. Miller2002-01-151-3/+3
* o Move the call to rebuild_env() until after MODE_RESET_HOME is set.Todd C. Miller2002-01-151-13/+11
* If set_perms == set_perms_posix and the stay_setuid flag is notTodd C. Miller2002-01-131-0/+15
* (c) 2002Todd C. Miller2002-01-081-1/+1
* Defer assigning new environment until right before the exec.Todd C. Miller2002-01-081-2/+6
* XXX - should call find_path() as runas user, not root. Can't doTodd C. Miller2001-12-151-0/+1
* If find_path() fails as root, try again as the invoking user (usefulTodd C. Miller2001-12-151-0/+6
* Add new sudoers option "preserve_groups". Previously sudo would notTodd C. Miller2001-12-151-1/+8
* o Reorder some headers and use STDC_HEADERS define properlyTodd C. Miller2001-12-141-17/+26
* Remove "secure_path" Defaults option since it cannot work with theTodd C. Miller2001-12-141-6/+0
* Unset "secure_path" if user_is_exempt()Todd C. Miller2001-12-141-0/+6
* Only need to do 'lc = login_getclass(NULL)' if lc == NULLTodd C. Miller2001-12-131-1/+2
* o Defer call to set_fqdn() until it is safe to use log_error()Todd C. Miller2001-12-131-4/+11
* Must reset signal handlers before we execTodd C. Miller2001-12-091-0/+8
* Don't block keyboard interrupt signals, just set them to SIG_IGN.Todd C. Miller2001-12-091-11/+9
* Kill POSIX_SIGNALS define and old signal support now that we emulate POSIX onesTodd C. Miller2001-12-081-20/+3
* Dump default bad env table when 'sudo -V' is run by root.Todd C. Miller2001-11-121-0/+1
* If we fail to lookup a login class, apply the default one.Todd C. Miller2001-08-231-1/+3
* Use setpwent()/endpwent() + all the shadow variants to make sureTodd C. Miller2001-05-101-0/+4
* remove struct env_table decl since that stuff has all moved to env.cTodd C. Miller2001-04-131-9/+0
* Move defaults info into its own files from which we generateTodd C. Miller2000-12-311-5/+5
* Don't try and build saved uid version of set_perms on systems w/o them.Todd C. Miller2000-12-301-6/+2
* New Defaults options:Todd C. Miller2000-12-301-207/+84
* Use exit(127), not exit(-1)Todd C. Miller2000-11-031-1/+1
* Move set_perms() to its own file and use POSIX saved uid or setreuid()Todd C. Miller2000-11-031-140/+8
* strip more bits from the environment and add a facility for strippingTodd C. Miller2000-11-031-6/+41
* Remove debugging code that should not have been committed, oops.Todd C. Miller2000-10-291-2/+1
* Fix a coredump in the logging functions if gethostname(2) failsTodd C. Miller2000-10-271-18/+23
* Add support for BSD authentication.Todd C. Miller2000-10-261-25/+45
* sudo_setenv() now exits on memory alloc failure instead of returning -1.Todd C. Miller2000-09-141-43/+10
* Strip out NLSPATH and PATH_LOCALE from the environment for FreeBSDTodd C. Miller2000-09-071-0/+2
* Add always_set_home variableTodd C. Miller2000-09-071-1/+2
* The listpw and verifypw sudoers options would not take effect becauseTodd C. Miller2000-08-121-6/+7
* Add support for using getifaddrs() to get the list of ip addr / netmaskTodd C. Miller2000-06-041-6/+4
* Call clean_env very early in main() for paranoia's sake. Idea fromTodd C. Miller2000-05-121-2/+3
* Fix root, runas, and target authentication for non-passwd file authTodd C. Miller2000-05-091-19/+17
* Bracket calls to syslog with an openlog() and closelog() since someTodd C. Miller2000-04-171-4/+1
* Fix -H flag. runas_homedir is only valid after set_perms(PERM_RUNAS, mode)Todd C. Miller2000-04-151-4/+4
* Make login class support work on BSD/OSTodd C. Miller2000-03-241-12/+24
* set_loginclass() should be static like the proto saysTodd C. Miller2000-03-241-3/+4
* Add support for set_logname run-time defaultTodd C. Miller2000-03-231-11/+13
* User can always specify a login class if he/she is already root.Todd C. Miller2000-03-071-1/+1
* FreeBSD login class (login.conf) support.Todd C. Miller2000-03-071-0/+76
* Stash coredumpsize resource limit and retsore it before the exec()Todd C. Miller2000-02-281-4/+13
* fix usage stringTodd C. Miller2000-02-271-2/+2
* Added -S flag (read passwd from stdin) and tgetpass_flags globalTodd C. Miller2000-02-271-1/+5
* Add rootpw, runaspw, and targetpw options.Todd C. Miller2000-02-181-0/+40
* Move user_is_exempt prototype into sudo.hTodd C. Miller2000-02-151-1/+0