Commit Graph

62 Commits

Author SHA1 Message Date
Todd C. Miller
ee04914164 Add support for running a helper program to read the password when
no tty is present (or when specified with the -A flag).  TODO: docs.
2008-03-02 14:31:57 +00:00
Todd C. Miller
f2b70188b6 Add support for SELinux RBAC. Sudoers entries may specify a role and type.
There are also role and type defaults that may be used.  To make sure a
transition occurs, when using RBAC commands are executed via the new sesh
binary.  Based on initial changes from Dan Walsh.
2008-02-09 14:30:06 +00:00
Todd C. Miller
6f2cd1b184 Rename read_nss -> sudo_read_nss
Add --with-nsswitch to allow users to specify nsswitch.conf path or disable it.
If --with-nsswitch=no but --with-ldap, order is LDAP, then sudoers.
Fix --with-ldap-conf-file and --with-ldap-secret-file
2008-01-01 18:22:03 +00:00
Todd C. Miller
7f323157a2 First cut at nsswitch.conf support.
Further reorganizaton and related changes are forthcoming.
2007-12-28 16:20:45 +00:00
Todd C. Miller
f8c52dc928 Add support for reading and /etc/environment file. Still needs to
be documented and should probably only applies to OSes that have
it (AIX and Linux, maybe others).
2007-12-21 21:53:32 +00:00
Todd C. Miller
317e600f41 Remove monitor support until there is a versino of systrace that
uses a lookaside buffer (or we have a better mechanism to use).
2007-08-15 15:20:01 +00:00
Todd C. Miller
e0ac56ae6f add _PATH_LDAP_SECRET 2005-06-26 22:36:51 +00:00
Todd C. Miller
74c19b024a Add _PATH_DEVNULL for those without it. 2004-12-16 18:25:54 +00:00
Todd C. Miller
b99ad3ee2b Kill _PATH_SUDOERS_TMP; it is not meaningful now that we can have multiple
sudoers files.
2004-09-28 18:29:05 +00:00
Todd C. Miller
5431e1451c _PATH_DEV_SYSTRACE 2004-09-24 00:15:13 +00:00
Aaron Spangler
2ceb87bc56 Allow --with-ldap-conf-file option to override LDAP_CONF 2004-08-27 03:44:35 +00:00
Todd C. Miller
4467a95f43 No longer use /tmp/.odus as a possible timestamp dir unless specifically
configured to do so.  Instead, if no /var/run exists, use /var/adm/sudo
or /usr/adm/sudo.
2004-05-17 20:28:54 +00:00
Todd C. Miller
3a2282c927 More to a less restrictive, ISC-style license. 2004-02-13 21:36:43 +00:00
Todd C. Miller
cc7cfa707e Add _PATH_TMP, _PATH_VARTMP and _PATH_USRTMP 2004-01-21 21:58:24 +00:00
Todd C. Miller
8e421c95b8 update copyright year 2004-01-05 17:15:32 +00:00
Todd C. Miller
626e2cd209 Add _PATH_SUDO_NOEXEC and corresponding --with-noexec configure option.
The default value of noexec_file is set to this.
2004-01-05 03:58:39 +00:00
Todd C. Miller
58596112cc add DARPA credit on affected files 2003-04-16 00:42:10 +00:00
Todd C. Miller
47dff37185 o Update copyright year 2001-12-14 19:54:56 +00:00
Todd C. Miller
2cbd965d63 o Remove assumption that PATH and TERM are not listed in env_keep
o If no PATH is in the environment use a default value
o If TERM is not set in the non-reset case also give it a default
  value.
2001-12-14 06:24:26 +00:00
Todd C. Miller
be8422eedf _PATH_SENDMAIL -> _PATH_SUDO_SENDMAIL so --without-sendmail works on
systems that define  in paths.h
2001-12-14 06:17:35 +00:00
Todd C. Miller
145992dce2 o /etc/stmp -> /etc/sudoers.tmp since solaris uses stmp as shadow temp file
o _PATH_SUDO_SUDOERS -> _PATH_SUDOERS and _PATH_SUDO_STMP -> _PATH_SUDOERS_TMP
1999-08-06 09:37:03 +00:00
Todd C. Miller
0d732401f4 add 4th term to license similar to term 5 in the apache license 1999-07-31 16:19:50 +00:00
Todd C. Miller
be40509eb7 BSD-style copyright 1999-07-22 12:52:06 +00:00
Todd C. Miller
e6deacb6c4 Crank version to 1.6 and combine copyright statements 1999-04-05 20:57:25 +00:00
Todd C. Miller
79c46d1c81 ++version 1999-03-29 04:05:15 +00:00
Todd C. Miller
52916f16ac add explicate copyright 1999-02-03 04:32:19 +00:00
Todd C. Miller
826fe213f2 add sudo tags 1999-01-17 23:16:20 +00:00
Todd C. Miller
d3aaf52283 crank version and regen files 1999-01-17 22:40:55 +00:00
Todd C. Miller
699272e312 convert to pathnames.h.in 1998-09-20 23:10:04 +00:00
Todd C. Miller
0ef9f25d7e updated version 1998-09-17 16:27:15 +00:00
Todd C. Miller
3dd98aef66 fix version string 1998-09-15 02:25:48 +00:00
Todd C. Miller
3b1be424aa updated version 1998-04-06 03:17:56 +00:00
Todd C. Miller
e37e1e56b6 updated version 1998-03-31 05:05:49 +00:00
Todd C. Miller
c866646cdf updated version 1998-02-18 21:39:31 +00:00
Todd C. Miller
2fc787d5f6 updated version 1998-02-17 02:43:17 +00:00
Todd C. Miller
bc7803cd08 updated version 1998-02-06 20:49:24 +00:00
Todd C. Miller
ca5babc430 updated version 1998-01-21 06:29:42 +00:00
Todd C. Miller
bb6a33e080 updated version 1998-01-21 05:50:58 +00:00
Todd C. Miller
166789a1dd ++version 1998-01-13 04:48:42 +00:00
Todd C. Miller
5e723efe75 ++version 1996-11-14 02:37:56 +00:00
Todd C. Miller
e712f1152c ++version 1996-10-07 05:05:33 +00:00
Todd C. Miller
6a230806a8 courtesan 1996-09-08 00:21:42 +00:00
Todd C. Miller
d189849b44 ++version 1996-08-30 00:37:04 +00:00
Todd C. Miller
daa856faa9 ++version 1996-08-17 23:21:24 +00:00
Todd C. Miller
d3fc83d9af _SUDO_PATH_ -> _CONFIG_PATH_ 1996-03-11 07:00:42 +00:00
Todd C. Miller
4cd2a93902 now uses _SUDO_PATH_TIMEDIR 1996-03-11 01:59:15 +00:00
Todd C. Miller
0f9fcf68ce added _PATH_BSHELL 1996-02-05 02:58:17 +00:00
Todd C. Miller
813ac511d2 ++version 1996-01-14 20:19:56 +00:00
Todd C. Miller
a90d2d478e ++version 1996-01-09 17:52:49 +00:00
Todd C. Miller
6846377706 ++version 1995-12-18 03:09:49 +00:00