[PATCH] Install eventlogadm to /usr/sbin
Andreas Schneider
asn at samba.org
Mon Aug 6 15:42:28 UTC 2018
On Monday, 6 August 2018 17:38:24 CEST Andreas Schneider via samba-technical
wrote:
> Hi,
>
> the binary needs root privileges to be able to write to registry.tdb.
>
>
> Please review and push if OK.
ENOPATCH ...
--
Andreas Schneider asn at samba.org
Samba Team www.samba.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
-------------- next part --------------
>From 670cd23c47e7ab9e6f127ecf152d33ef3bee3600 Mon Sep 17 00:00:00 2001
From: Andreas Schneider <asn at samba.org>
Date: Mon, 6 Aug 2018 17:32:17 +0200
Subject: [PATCH] s3:waf: Install eventlogadm to /usr/sbin
The eventlogadm binary needs write access to the registry which, by
default, is only possible as root.
https://bugzilla.samba.org/show_bug.cgi?id=13561
Signed-off-by: Andreas Schneider <asn at samba.org>
---
source3/utils/wscript_build | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/source3/utils/wscript_build b/source3/utils/wscript_build
index 8b4d890d485..93e6abaac0d 100644
--- a/source3/utils/wscript_build
+++ b/source3/utils/wscript_build
@@ -86,7 +86,8 @@ bld.SAMBA3_BINARY('eventlogadm',
deps='''
talloc
smbconf
- LIBEVENTLOG''')
+ LIBEVENTLOG''',
+ install_path='${SBINDIR}')
bld.SAMBA3_BINARY('sharesec',
source='sharesec.c ../lib/util_sd.c',
--
2.18.0
More information about the samba-technical
mailing list