sudo: fix main executable permissions
The sudo executable is installed without the setuid bit set, which prevents sudo from working. This patch adds a post-install hook to fix the permissions of the sudo executable. Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
b6d7ce7e02
commit
0e8dafcb3e
@ -14,4 +14,8 @@ SUDO_CONF_OPT = \
|
||||
--without-interfaces \
|
||||
--without-pam
|
||||
|
||||
define SUDO_PERMISSIONS
|
||||
/usr/bin/sudo f 4755 0 0 - - - - -
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
Loading…
Reference in New Issue
Block a user