Todd C. Miller
9cb10fc94d
mention better uid support
2007-08-22 22:56:56 +00:00
Todd C. Miller
94922dbae5
Users may now consist of a uid.
2007-08-22 22:55:46 +00:00
Todd C. Miller
d65c8e8275
regen
2007-08-22 22:39:20 +00:00
Todd C. Miller
340831499a
Use lbuf_append_quoted() for sudo -l output to quote characters that
...
would require quoting in sudoers.
2007-08-22 22:32:00 +00:00
Todd C. Miller
14d1b79a4a
Add lbuf_append_quoted() which takes a set of characters which
...
should be quoted with a backslash when displayed.
2007-08-22 22:31:07 +00:00
Todd C. Miller
0940a74e6f
Require that the first character after a comment not be a digit or
...
a dash. This allows us to remove the GOTRUNAS state and treat
uid/gids similar to other words. It also means that we can now
specify uids in User_Lists and a User_Spec may now contain a uid.
2007-08-22 22:28:20 +00:00
Todd C. Miller
add2fe0240
Replace RUNAS token with '(' and ')' tokens to make the runas
...
portion of the grammar more natural.
2007-08-22 22:23:59 +00:00
Todd C. Miller
057d10a1e3
The BUGS file is history
2007-08-22 10:37:53 +00:00
Todd C. Miller
58fd9b25b3
The BUGS file is history
2007-08-22 10:35:40 +00:00
Todd C. Miller
53961224a6
Allow comments after a RunasAlias as long as the character after
...
the pound sign isn't a digit or a dash.
2007-08-21 13:19:04 +00:00
Todd C. Miller
fd0ea842f9
Glob support was back-ported to 1.6.9
2007-08-21 00:43:19 +00:00
Todd C. Miller
68aac1b393
remove sudo_usage.h in distclean
2007-08-20 23:59:50 +00:00
Todd C. Miller
c6cf39cdfd
If a Defaults value contains a blank, double-quote the string.
2007-08-20 23:24:31 +00:00
Todd C. Miller
9cf8213c26
Properly deal with Defaults double-quoted strings that span multiple
...
lines using the line continuation char. Previously, the entire thing,
including the continuation char, newline, and spaces was stored as-is.
2007-08-20 23:19:44 +00:00
Todd C. Miller
fa6536920b
Be consistent when using single quotes and backticks.
2007-08-20 14:46:40 +00:00
Todd C. Miller
2315b317e2
Add new linebuf code to do appends of dynamically allocated strings
...
and word-wrapped output. Currently used for sudo's usage() and
sudo -l output. Sudo usage strings are now in sudo_usage.h which
is generated at configure time.
2007-08-19 20:48:09 +00:00
Todd C. Miller
d28030c9fd
Fix line wrapping in usage() and use the actual tty width instead of
...
assuming 80.
2007-08-18 12:22:16 +00:00
Todd C. Miller
ccd780f993
some more info
2007-08-17 22:32:01 +00:00
Todd C. Miller
0b43e9362d
Mentioned Chris Jepeway's parser and also the new one that is in sudo 1.7.
2007-08-17 21:28:03 +00:00
Todd C. Miller
28f814d12f
For the options list, add flag args where appropriate and increase the
...
indent level so there is room for them.
2007-08-16 13:38:24 +00:00
Todd C. Miller
994036cf0d
Fix some spacing in "sudo -l" and add a comment about some bogosity
...
in the line wrapping.
2007-08-15 17:49:52 +00:00
Todd C. Miller
5ab2e07677
regen
2007-08-15 15:21:14 +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
72b36ddf50
use getaddrinfo() instead of gethostbyname() if it is available
2007-08-15 13:22:06 +00:00
Todd C. Miller
c939690786
Deal with OSes where sizeof(gid_t) < sizeof(int).
2007-08-14 19:27:27 +00:00
Todd C. Miller
dd3e80180f
repair non-getifaddrs() code after ipv6 integration
2007-08-14 15:19:13 +00:00
Todd C. Miller
580be13e74
If we can open sudoers but fail to read the first byte, close the
...
file stream before trying again.
2007-08-14 14:04:41 +00:00
Todd C. Miller
b1845dcf10
regen
2007-08-13 16:34:21 +00:00
Todd C. Miller
d65602ca6f
Add IPv6 support; adapted from patches by YOSHIFUJI Hideaki
2007-08-13 16:29:25 +00:00
Todd C. Miller
0a96fe4076
Add some missing markup
...
Update copyright
2007-08-13 16:23:14 +00:00
Todd C. Miller
f90beb2b2b
fix sudo_noexec extension which got broken in the libtool update
2007-08-12 22:55:37 +00:00
Todd C. Miller
cb68709a7d
explicitly specify -Tascii to nroff
2007-08-10 14:41:59 +00:00
Todd C. Miller
bcdddfc054
remove an ANSI-ism that crept in
2007-08-08 20:07:33 +00:00
Todd C. Miller
1ae60a5577
Adjust list indents
...
Prevent -- from being turned into an em dash
Use a list for the environment instead of a literal paragraph
2007-08-07 00:37:44 +00:00
Todd C. Miller
91f2696d15
Use a list for the environment instead of an indented literal paragraph.
2007-08-07 00:36:13 +00:00
Todd C. Miller
6c2448ed2a
Adjust list indentation
2007-08-07 00:33:04 +00:00
Todd C. Miller
977ff0d6a1
add =head3
2007-08-07 00:31:40 +00:00
Todd C. Miller
1994a37c6d
mention that when specifying a uid for the -u option the shell may require that the # be escaped
2007-08-06 14:24:07 +00:00
Todd C. Miller
4fea71625b
Fix off by one in group matching.
2007-08-02 02:08:39 +00:00
Todd C. Miller
17c8249fef
Fix typo: PYTHONINSPEC should be PYTHONINSPECT. From David Krause.
2007-07-31 18:04:32 +00:00
Todd C. Miller
4da4964239
Add missing define of HAVE_GSS_KRB5_CCACHE_NAME for the
...
-lgssapi_krb5 case.
2007-07-30 14:45:28 +00:00
Todd C. Miller
e81f9efd14
Fix link tests such that new gcc doesn't optimize away the test.
2007-07-30 13:29:06 +00:00
Todd C. Miller
a08b9a1072
add missing over/back
2007-07-29 23:21:37 +00:00
Todd C. Miller
c3a1e75b06
Change FILES section to use =item
2007-07-29 23:09:23 +00:00
Todd C. Miller
4b257e50c1
Add back allocation of the env struct in rebuild_env but save
...
a copy of the old pointer and free it before returning.
2007-07-29 22:32:47 +00:00
Todd C. Miller
2304e1a4a7
Don't init the private environment in rebuild_env() since it may
...
have already been done implicitly sudo_setenv/sudo_unsetenv.
Multiply length by sizeof(char *) in memcpy/memmove when copying
the environment so we copy the full thing.
Add missing set of parens so we deref the right pointer in
sudo_unsetenv when searching for a matching variable.
2007-07-29 20:09:18 +00:00
Todd C. Miller
2e147dc73b
Use file markup for paths in the FILES section
2007-07-26 20:35:53 +00:00
Todd C. Miller
e5cc89e01b
Don't capitalize sudo/visudo
2007-07-26 14:04:44 +00:00
Todd C. Miller
b925712f94
Sort sudoers options; based on a diff from Igor Sobrado.
2007-07-26 11:28:45 +00:00
Todd C. Miller
d947abaa35
Use 8 and 5 instead of @mansectsu@ and @mansectform@ since the latter
...
confuses pod2man. The Makefile rules for the .man.in file will add
@mansectsu@ and @mansectform@ back in after pod2man is done anyway.
2007-07-25 20:19:37 +00:00