From 9c124af8868a7d3908c03ec369e28daef17d5f12 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Tue, 30 Mar 2010 15:26:58 +0200 Subject: SELinux login management Adds a new option -Z to sss_useradd and sss_usermod. This option allows user to specify the SELinux login context for the user. On deleting the user with sss_userdel, the login mapping is deleted, so subsequent adding of the same user would result in the default login context unless -Z is specified again. MLS security is not supported as of this patch. --- src/Makefile.am | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index e5c12df8c..e56d7b166 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -295,6 +295,9 @@ TOOLS_LIBS = \ if BUILD_SELINUX TOOLS_LIBS += $(SELINUX_LIBS) endif +if BUILD_SEMANAGE + TOOLS_LIBS += $(SEMANAGE_LIBS) +endif dist_noinst_HEADERS = \ monitor/monitor.h \ @@ -529,11 +532,15 @@ FILES_TESTS_LIBS = \ if BUILD_SELINUX FILES_TESTS_LIBS += $(SELINUX_LIBS) endif +if BUILD_SEMANAGE + FILES_TESTS_LIBS += $(SEMANAGE_LIBS) +endif files_tests_SOURCES = \ $(SSSD_DEBUG_OBJ) \ tests/files-tests.c \ util/check_and_open.c \ + tools/selinux.c \ tools/files.c files_tests_CFLAGS = \ $(AM_CFLAGS) \ -- cgit