2007-10-01 16:29:27 +00:00
|
|
|
diff --exclude-from=exclude -N -u -r nsalibsemanage/src/genhomedircon.c libsemanage-2.0.11/src/genhomedircon.c
|
|
|
|
--- nsalibsemanage/src/genhomedircon.c 2007-10-01 09:54:35.000000000 -0400
|
|
|
|
+++ libsemanage-2.0.11/src/genhomedircon.c 2007-10-01 12:24:39.000000000 -0400
|
|
|
|
@@ -668,12 +668,11 @@
|
2007-09-27 00:20:09 +00:00
|
|
|
|
|
|
|
for (i = 0; i < nseusers; i++) {
|
|
|
|
seuname = semanage_seuser_get_sename(seuser_list[i]);
|
2007-10-01 16:29:27 +00:00
|
|
|
+ name = semanage_seuser_get_name(seuser_list[i]);
|
2007-09-27 00:20:09 +00:00
|
|
|
|
2007-10-01 16:29:27 +00:00
|
|
|
- if (strcmp(seuname, s->fallback_user) == 0)
|
|
|
|
+ if (strcmp(name,"root") && strcmp(seuname, s->fallback_user) == 0)
|
2007-09-27 00:20:09 +00:00
|
|
|
continue;
|
|
|
|
|
2007-10-01 16:29:27 +00:00
|
|
|
- name = semanage_seuser_get_name(seuser_list[i]);
|
2007-09-26 20:51:43 +00:00
|
|
|
-
|
2007-10-01 16:29:27 +00:00
|
|
|
if (strcmp(name, DEFAULT_LOGIN) == 0)
|
|
|
|
continue;
|
2007-09-26 20:51:43 +00:00
|
|
|
|