94f04f9e71
usermod: allow all group types with -G option (#1975327) Clean spec file Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
36 lines
999 B
Diff
36 lines
999 B
Diff
diff -up shadow-4.9/lib/semanage.c.default-range shadow-4.9/lib/semanage.c
|
|
--- shadow-4.9/lib/semanage.c.default-range 2021-07-22 23:55:35.000000000 +0200
|
|
+++ shadow-4.9/lib/semanage.c 2021-08-02 12:43:16.822817392 +0200
|
|
@@ -143,6 +143,7 @@ static int semanage_user_mod (semanage_h
|
|
goto done;
|
|
}
|
|
|
|
+#if 0
|
|
ret = semanage_seuser_set_mlsrange (handle, seuser, DEFAULT_SERANGE);
|
|
if (ret != 0) {
|
|
fprintf (shadow_logfd,
|
|
@@ -150,6 +151,7 @@ static int semanage_user_mod (semanage_h
|
|
ret = 1;
|
|
goto done;
|
|
}
|
|
+#endif
|
|
|
|
ret = semanage_seuser_set_sename (handle, seuser, seuser_name);
|
|
if (ret != 0) {
|
|
@@ -200,6 +202,7 @@ static int semanage_user_add (semanage_h
|
|
goto done;
|
|
}
|
|
|
|
+#if 0
|
|
ret = semanage_seuser_set_mlsrange (handle, seuser, DEFAULT_SERANGE);
|
|
if (ret != 0) {
|
|
fprintf (shadow_logfd,
|
|
@@ -208,6 +211,7 @@ static int semanage_user_add (semanage_h
|
|
ret = 1;
|
|
goto done;
|
|
}
|
|
+#endif
|
|
|
|
ret = semanage_seuser_set_sename (handle, seuser, seuser_name);
|
|
if (ret != 0) {
|