]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rpm,deb: change sudoers file mode to 440
authorDavid Turner <dturner@rsglab.com>
Tue, 10 Nov 2020 19:31:35 +0000 (14:31 -0500)
committerKefu Chai <kchai@redhat.com>
Thu, 12 Nov 2020 06:09:03 +0000 (14:09 +0800)
commit1de14c7f9bcaf94152c62b50c37f4a44b6445f58
tree4ff7676c63c6eab17afdc634318b92be2d907e65
parentf7d6935f9df622a59018be455392ecb80e8417e3
rpm,deb: change sudoers file mode to 440

change sudoers file mode to 440 to match recommended defaults.

From the sudoers man page.

> the default file mode is 0440 (read‐able by owner and group, writable
by none).
> The default mode may be changed via the “sudoers_mode” option to the
sudoers
>  Plugin line in the sudo.conf(5) file.

Fixes: https://tracker.ceph.com/issues/48169
Signed-off-by: David Turner <drakonstein@gmail.com>
ceph.spec.in
debian/rules