Todd C. Miller
|
9d49592f14
|
Fix compilation with glibc where stdout is not constant.
|
2018-02-05 06:23:33 -07:00 |
|
Todd C. Miller
|
40c200af18
|
Add back printing of negation operator ('!') when printing a word
with spaces in it.
|
2018-02-03 06:57:12 -07:00 |
|
Todd C. Miller
|
61b6ae64de
|
When outputting sudoers, if a word includes spaces, print it in
double quotes. Also escape spaces in the command path.
|
2018-02-03 06:18:47 -07:00 |
|
Todd C. Miller
|
3354cbd021
|
Add sudoers output format to cvtsudoers. In the future this may
be used with filters to emit a partial sudoers file instead of a
full one.
|
2018-02-02 14:29:19 -07:00 |
|
Todd C. Miller
|
831de0fc8b
|
Add -b option to specify the base dn.
|
2018-01-28 19:58:10 -07:00 |
|
Todd C. Miller
|
4acaa9c74a
|
Switch the default output format to LDIF
|
2018-01-28 19:36:16 -07:00 |
|
Todd C. Miller
|
63321f19a9
|
Revert 04ec05108b2b, change the default input source back to stdin.
|
2018-01-28 16:11:02 -07:00 |
|
Todd C. Miller
|
681fb2e76e
|
Add ldif backend to cvtsudoers, to replace sudoers2ldif
|
2018-01-27 20:08:02 -07:00 |
|
Todd C. Miller
|
cc31b3fd40
|
Parse sudoers in the front end, not the back end.
|
2018-01-26 17:29:56 -07:00 |
|
Todd C. Miller
|
98c19a68c9
|
Use the built-in sudoers file location as the default sudoers file
for cvtsudoers and move parse_sudoers_options() to stubs.c since
it is shared between visudo.c and cvtsudoers.c.
|
2018-01-26 13:15:10 -07:00 |
|
Todd C. Miller
|
0f3030d502
|
Move common stub functions required by the parser out of visudo.c
and cvtsudoers.c and into stubs.c.
|
2018-01-26 12:51:24 -07:00 |
|
Todd C. Miller
|
02d917e602
|
Rename export_sudoers() to convert_sudoers_json() and move the
check for the same input and output file to the front-end.
|
2018-01-26 12:28:49 -07:00 |
|
Todd C. Miller
|
80cb1b5da9
|
Move sudoers JSON conversion to cvtsudoers which will eventually
output to other formats too.
|
2018-01-26 11:20:37 -07:00 |
|