Problems configuring multiple logservers
Niels Kobschätzki via sudo-users <[email protected]> Fri, 14 Jul 2023 15:50:46 +0200
| Newsgroups | gmane.comp.tools.sudo.user |
|---|---|
| Message-ID | <[email protected]> |
--===============1909320452656562133==
Content-Type: multipart/signed; boundary=Apple-Mail-9BBF5281-018B-4364-A1F2-F328D3043376; protocol="application/pkcs7-signature"; micalg=sha-256
Content-Transfer-Encoding: 7bit
--Apple-Mail-9BBF5281-018B-4364-A1F2-F328D3043376
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Hi,
I am trying to add two log_servers to my sudoers:
Defaults log_servers =3D a.b.c.d e.f.g.h
When I do that I get an error:
/etc/sudoers.d/00_sudo-log:2:39: syntax error
Defaults log_servers =3D 213.73.121.12 213.73.113.150
/etc/sudoers.d/00_sudo-log:2:39: syntax error
Defaults log_servers =3D a.b.c.d e.f.g.h
^~~~~~~~~~~~~~
The ^ points to the whitespace between the two ipv4-addresses (sorry I have n=
o monospace-mail client available in this moment; so I am not sure if I poin=
ted the ^ correctly).
According to the man-page log_servers is a white space-separated list.
I get the error on a Debian 11 with sudo 1.9.5 and on a FreeBSD 13 with sudo=
1.9.10
What am I doing wrong?
Best,
Niels=
--Apple-Mail-9BBF5281-018B-4364-A1F2-F328D3043376--
--===============1909320452656562133==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users
--===============1909320452656562133==--