Commit Graph

8 Commits

Author SHA1 Message Date
Todd C. Miller
4da1f373de Add commented out example for disabling use_pty. 2023-06-18 08:03:46 -06:00
Stefan Linke
a074d058ef Fix typo in sudoers comment
Fix a typo in the sudoers comment about `maxseq` param.

Introduced by 906eb19ece in 1.9.11.
2022-06-07 13:03:03 +02:00
Todd C. Miller
906eb19ece Add maxseq setting to log_output example.
This should make it more obvious that you need to adjust maxseq
unless you have (virtually) unlimited disk space.
2022-05-15 18:46:24 -06:00
juspence
1d13533ea3 Allow sudo -g anyone and sudo -u anyone -g anytwo
When only the user (ALL) is specified explicitly, and the group is implied, only sudo -u works. Specifying both the user and group, like (ALL:ALL), is required to:

1) Use sudo -g by itself (with no -u user)
2) Use sudo -u and -g together, with a -g group that is different from the -u user's primary group
2021-12-04 17:41:13 -05:00
Todd C. Miller
660738139b Replace #includedir with @includedir in default sudoers file. 2020-07-06 08:45:04 -06:00
Todd C. Miller
c3b4e4ce3e Update Debian/Ubuntu packages to be more like the vendor ones. One
notable exception is that sudo.ws packages use /var/run, not /var/lib
for timestamp files.
2015-07-08 16:15:53 -06:00
Todd C. Miller
b4262391e9 Disable I/O logging for halt and poweroff in addition to reboot in
commented out example.
2014-04-15 11:26:01 -06:00
Todd C. Miller
598341d366 Substitute sysconfdir in the installed sudoers file to get the
correct path for sudoers.d.
2010-08-18 08:09:10 -04:00