- newusers man page more informative
- userdel should not need to run semanage - max group name length set to 32 characters Resolves: #586330 #586408 #582553
This commit is contained in:
parent
0e194dc14e
commit
9e1e8e7d22
3 changed files with 67 additions and 2 deletions
22
shadow-4.1.4.2-semange.patch
Normal file
22
shadow-4.1.4.2-semange.patch
Normal file
|
@ -0,0 +1,22 @@
|
|||
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.
|
Loading…
Add table
Add a link
Reference in a new issue