23 lines
653 B
Diff
23 lines
653 B
Diff
|
diff -up shadow-4.1.4.2/src/userdel.c.semanage shadow-4.1.4.2/src/userdel.c
|
||
|
--- shadow-4.1.4.2/src/userdel.c.semanage 2010-04-28 14:47:25.581366330 +0200
|
||
|
+++ shadow-4.1.4.2/src/userdel.c 2010-04-28 14:48:08.736376028 +0200
|
||
|
@@ -974,18 +974,6 @@ int main (int argc, char **argv)
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
-#ifdef WITH_SELINUX
|
||
|
- if (is_selinux_enabled () > 0) {
|
||
|
- const char *args[5];
|
||
|
- args[0] = "/usr/sbin/semanage";
|
||
|
- args[1] = "login";
|
||
|
- args[2] = "-d";
|
||
|
- args[3] = user_name;
|
||
|
- args[4] = NULL;
|
||
|
- safe_system (args[0], args, NULL, 1);
|
||
|
- }
|
||
|
-#endif
|
||
|
-
|
||
|
/*
|
||
|
* Cancel any crontabs or at jobs. Have to do this before we remove
|
||
|
* the entry from /etc/passwd.
|