Todd C. Miller
1cdc4716c2
Comment out the default plugin lines in the example sudo.conf.
...
Fixes a problem when there are multiple versions of sudo installed
and not all suport the audit plugin, such as on macOS.
GitHub issue #75
2020-12-05 09:08:43 -07:00
Todd C. Miller
e0c2635fb3
Apply Google inclusive language guidelines.
...
Also replace backwards with backward.
2020-10-30 10:15:30 -06:00
Todd C. Miller
4239a45b69
Sync example sudoers with manual page.
2020-09-10 07:53:22 -06:00
Todd C. Miller
90dbdf8f30
Add sudoers_audit line for completeness, matching the documentation.
...
When sudoers is loaded as a policy plugin, it will be loaded
automatically as an audit plugin. Listing it explicitly in the
default sudo.conf file helps bring attention to the fact that sudoers
now supports the audit plugin type.
2020-07-06 10:42:46 -06:00
Todd C. Miller
f093cb2e52
Replace terms master and blacklist in docs and examples.
2020-06-15 14:38:46 -06:00
Todd C. Miller
1659d96c55
Use port 30343 for plaintext and port 30344 for TLS.
...
For TLS connections we now do the TLS handshake immediately before
the ServerHello message. This lets the client recieve an alert
from the server is there is a handshake error after the TLS connect
has succeeded. It also means that the contents of the ServerHello
are protected from a man-in-the-middle attack.
2020-05-05 13:23:26 -06:00
Todd C. Miller
55eb0a633c
Install the example sudo_logsrvd.conf unless one already exists
2020-04-08 08:54:27 -06:00
Todd C. Miller
700becabc0
Make the path to logsrvd_cert.pem match the documentation.
2020-04-07 19:40:08 -06:00
Todd C. Miller
4ee7ae6471
Install example sudo_logsrvd.conf file
2020-04-03 13:20:17 -06:00
Todd C. Miller
f908ddd1bf
Create a pidfile for sudo_logsrvd when not run with the -n flag.
2020-03-29 05:05:08 -06:00
Todd C. Miller
5781a6a4cf
Add support for JSON logging in sudo_logsrvd.
2020-02-17 16:10:56 -07:00
Todd C. Miller
2fe127d108
Move some scripts from the top level src dir to a scripts dir.
2020-02-06 14:30:26 -07:00
Laszlo Orban
24c9438486
logserver option to disable certificate verification on server side and server authentication on client side
2020-01-23 10:12:12 -07:00
Todd C. Miller
07a2965bab
Document TCP keepalive options in the manual pages.
2020-01-22 11:07:01 -07:00
Laszlo Orban
38160d0ccb
logserver: enable/disable SO_KEEPALIVE socket option based on tcp_keepalive configuration option in sudo_logsrvd.conf
2020-01-22 10:52:18 -07:00
Todd C. Miller
db1a9b155f
Install a default sudo.conf file.
2020-01-21 13:31:07 -07:00
Todd C. Miller
5913c63642
Add abs_top_srcdir and abs_top_builddir and use them.
...
Configure provides absolution versions of srcdir, builddir, top_srcdir
and top_builddir. We can use these instead of calling pwd.
2020-01-20 06:37:42 -07:00
Todd C. Miller
c9f26ebbb4
Remove whitespace at the end of the line in example sudo.conf
2020-01-17 09:47:52 -07:00
Todd C. Miller
b527ac3fb5
Update sample sudo.conf with all supported settings.
...
The deprecated "max_groups" setting is not documented.
2020-01-02 14:07:30 -07:00
Todd C. Miller
8aa815643f
Remove POD-style C<> markup (typewriter font) from sudo.conf
2020-01-02 13:12:27 -07:00
Todd C. Miller
5bf0752021
Substitute plugin dir into examples/sudo.conf
2020-01-02 12:53:30 -07:00
Todd C. Miller
b31b830518
Document the process of creating self-signed certificates for sudo_logsrvd.
...
Based on a document from Laszlo Orban.
2019-11-19 14:29:40 -07:00
Todd C. Miller
366a63ce58
Change TLS example file locations to be under /etc/ssl/sudo.
2019-11-16 19:13:53 -07:00
Todd C. Miller
49c09ee2d8
Document sudo_logsrvd TLS configuration.
2019-11-16 13:01:49 -07:00
Laszlo Orban
b9641816d6
set timeout value for the socket
2019-11-15 09:52:48 +01:00
Laszlo Orban
2c5e421761
add configuration options for TLS
2019-11-12 10:26:48 +01:00
Todd C. Miller
1df3230c2a
Document the sudo log server protocol
2019-10-24 20:04:33 -06:00
Todd C. Miller
b57054785f
Add manual pages for logsrvd and sendlog.
2019-10-24 20:04:32 -06:00
Todd C. Miller
76eec78a33
Add basic support for event logging using a sudo-style log format.
2019-10-24 20:04:32 -06:00
Todd C. Miller
402820e8cf
Convert sudo_logsrvd.conf to ini file format
2019-10-24 20:04:32 -06:00
Todd C. Miller
534aba7a3e
Make the logsrvd port and list address configurable.
2019-10-24 20:04:32 -06:00
Todd C. Miller
a808dd45c2
Add config file support for logsrvd
2019-10-24 20:04:31 -06:00
Todd C. Miller
b157b96893
Add depend target to all Makefile.in files.
2019-10-21 15:20:21 -06:00
Todd C. Miller
1e1ef61902
Add SPDX-License-Identifier to files.
2019-04-29 07:21:51 -06:00
Todd C. Miller
019279a4b8
Fix some mangled text in the license block.
2018-10-26 08:19:41 -06:00
Todd C. Miller
c5df091123
Add pvs-studio target and associated production rules.
2018-10-21 08:46:05 -06:00
Todd C. Miller
4be8aba9f8
cvtsudoers regress tests
2018-04-15 08:14:46 -06:00
Todd C. Miller
48fba3c2cc
update my email to Todd.Miller@sudo.ws
2017-12-03 17:53:40 -07:00
Todd C. Miller
e70a953fb4
Remove pointless subshells in targets that simply change the directory
...
and execute a command. The command is already run in a shell so
there is no need to execute a subshell in this case.
2017-07-12 05:45:46 -06:00
Todd C. Miller
57933a8ff3
Safer example for rule that can change non-root passwords. GNU
...
getopts allows options to follow arguments so we need to be able
to deny things like "passwd root -q". From Paul "Joey" Clark.
Bug #772
2017-01-17 08:55:40 -07:00
Todd C. Miller
1298ea9107
Add target for "make splint". A few files need extra guards to avoid
...
errors on systems where they would not otherwise be compiled.
No warnings from splint.
2015-05-21 11:07:13 -06:00
Todd C. Miller
d297f5fd84
Make exampledir configurable and default to DATAROOTDIR/examples/sudo
...
on BSD systems.
2015-04-06 15:10:26 -06:00
Todd C. Miller
117a30face
Move example dir under the doc dir to conform to Debian guidelines.
...
Bug #682 .
2015-02-10 09:50:09 -07:00
Todd C. Miller
b91a91d289
Move sample.* files to a sudo examples dir
2014-10-24 14:25:12 -06:00