2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 13:58:05 +00:00

4966 Commits

Author SHA1 Message Date
Todd C. Miller
b02daa8272 Add sudoers_locale Defaults option to override the default sudoers
locale of "C".
2008-09-14 00:45:24 +00:00
Todd C. Miller
508295b1f6 Set locale to system default except for during sudoers parse. 2008-09-13 18:09:28 +00:00
Todd C. Miller
65bce65551 Redo change in 1.34 to use pointer arithmetic. 2008-09-12 13:34:27 +00:00
Todd C. Miller
d0a44e437c Fix a dereference (read) of a freed pointer. Reported by Patrick Williams. 2008-09-11 11:06:37 +00:00
Todd C. Miller
a5245c2358 Set locale to "C" to avoid interpretation issues with character ranges
in sudoers.  May want to make the locale a sudoers option in the future.
2008-08-23 23:09:13 +00:00
Todd C. Miller
194d57b966 we no longer use setproctitle 2008-08-20 11:45:15 +00:00
Todd C. Miller
1954d68116 remove #if 1 2008-08-20 11:41:22 +00:00
Todd C. Miller
da6ffd067d Use my replacement mkstemp() from the mktemp package. 2008-08-20 11:40:15 +00:00
Todd C. Miller
ed3cc2b331 regen with yacc skeleton bug fixed 2008-07-12 12:53:05 +00:00
Todd C. Miller
8f38cfbe90 Remove duplicate "as root". From Martin Toft. 2008-07-12 12:48:21 +00:00
Todd C. Miller
e439faeeb4 Flesh out the fake passwd entry used for running commands as a uid not
listed in the passwd database.  Fixes an issue with some PAM modules.
2008-07-02 10:27:57 +00:00
Todd C. Miller
0cf7172b1a Error out in -i mode if the user has no shell. This can happen when
running commands as a uid with no password entry.
2008-07-01 11:57:55 +00:00
Todd C. Miller
3bf94ded8e Better fix for line continuation inside double quotes. Now accepts
whitespace between the backslash and the newline like the main lexer.
2008-06-26 11:49:16 +00:00
Todd C. Miller
bd8e38a0c7 Fix line continuation in strings. It was only being honored if preceded by
whitespace.
2008-06-25 18:31:19 +00:00
Todd C. Miller
ca6eddf0df Replace the double fork with a fork + daemonize. 2008-06-22 20:19:42 +00:00
Todd C. Miller
4578548c45 The -i flag should imply env_reset. This got broken in sudo 1.6.9. 2008-06-21 18:59:36 +00:00
Todd C. Miller
5756ddfbeb Change how the mailer is waited for. Instead of having a SIGCHLD
handler, use the double fork trick to orphan the child that opens
the pipe to sendmail.  Fixes a problem running su on some Linux distros.
2008-06-21 00:34:47 +00:00
Todd C. Miller
c372928c38 Fix configure test for dirfd() on Linux where DIR is opaque. 2008-06-20 21:16:09 +00:00
Todd C. Miller
e37c901cdc Get rid of the QNX TCSAFLUSH -> TCSADRAIN hack. If QNX still has this
problem we'll need to revisit this again.
2008-06-17 21:42:41 +00:00
Todd C. Miller
552eca0d0f Ignore SIGPIPE instead of blocking it when piping to the mailer. If we
only block the signal it may be delivered later when we unblock.
Also, there is no need to block SIGCHLD since we no longer do the
double fork.  The normal SIGCHLD handler is sufficient.
2008-06-11 01:13:39 +00:00
Todd C. Miller
cfb45078b2 Add description for NO_PAM_SESSION, from a redhat patch. 2008-06-08 21:37:25 +00:00
Todd C. Miller
06a4e14025 Fix typos in -i usage 2008-06-06 13:36:58 +00:00
Todd C. Miller
e2cbaa50a3 Redo the test for dgettext() in a way that hopefully will work around
the libintl_dgettext() undefined problem.
2008-05-18 17:54:48 +00:00
Todd C. Miller
2aadaaded4 change filename in comment 2008-05-11 13:21:09 +00:00
Todd C. Miller
64c5738ec9 Reference schema.ActiveDirectory 2008-05-10 13:18:47 +00:00
Todd C. Miller
1da320979c Mark sudoRunAs as deprecated. 2008-05-09 18:49:25 +00:00
Todd C. Miller
236fd128d3 add sudoRunAsUser and sudoRunAsGroup 2008-05-09 18:48:18 +00:00
Todd C. Miller
2860716baa Active Directory schema by Chantal Paradis and Eric Paquet 2008-05-09 18:01:04 +00:00
Todd C. Miller
f0db3ecfbe remove an XXX that was fixed 2008-05-08 21:54:09 +00:00
Todd C. Miller
fbc4aea0eb sync 2008-05-08 16:53:09 +00:00
Todd C. Miller
88b9327229 Initialize tags to UNSPEC instead of def_* in "sudo -l" mode.
This fixes a problem where the tag value printed was influenced
by defaults set in the first pass through the parser.
2008-05-08 16:49:12 +00:00
Todd C. Miller
5c58a7e961 No point in packaging the TODO file 2008-05-04 01:29:08 +00:00
Todd C. Miller
d529c35bf6 sync 2008-05-04 01:24:30 +00:00
Todd C. Miller
b85a28aba9 Add env_file Defaults option that is similar to /etc/environment on some
systems.
2008-05-03 00:53:21 +00:00
Todd C. Miller
c3470aa583 change version to 1.7.0 2008-05-02 20:38:08 +00:00
Todd C. Miller
bfc826872c initial valgrind pass done 2008-05-02 20:37:43 +00:00
Todd C. Miller
25aa1b5bf1 Fix typo/think in sudo_ldap_read_secret() when storing the secret. 2008-04-23 12:30:07 +00:00
Todd C. Miller
3fa2f32928 define LDAPS_PORT if the system headers do not 2008-04-11 14:03:30 +00:00
Todd C. Miller
a890d723d1 Fix another memory leak in init_parser(). 2008-04-10 18:54:50 +00:00
Todd C. Miller
f0a6827feb There was a missing space before the ldap libs in SUDO_LIBS for
some configurations.
2008-04-10 16:51:17 +00:00
Todd C. Miller
b06e2f9d65 Clean up some memory leaks pointed out by valgrind. 2008-04-10 15:28:10 +00:00
Todd C. Miller
cb8bc538d0 fix "sudo -s" broken by mode/flags breakout 2008-04-07 18:39:05 +00:00
Todd C. Miller
7fe25e284e remove duplicate check for dgettext 2008-04-07 18:26:13 +00:00
Todd C. Miller
7ddbc66eb6 Fall back to default stanza if no user-specific limit is found. 2008-04-05 19:54:11 +00:00
Todd C. Miller
00d4993481 include stdint.h if present 2008-04-02 19:56:40 +00:00
Todd C. Miller
66d388c3d4 Use LLONG_MAX, not the old QUAD_MAX 2008-04-02 19:28:27 +00:00
Todd C. Miller
0715e45e7a fix cut and pasto 2008-04-01 23:18:21 +00:00
Todd C. Miller
82ba4c72e9 Add #ifdef PURITY 2008-03-31 15:24:28 +00:00
Todd C. Miller
d43f00c182 remove useless cast 2008-03-30 21:36:51 +00:00
Todd C. Miller
a195276142 sync 2008-03-27 23:07:57 +00:00